Question about Format and Indent
Posted: Fri Apr 03, 2015 10:36 am
Hello,
We have some (DITA) files which have nested <ul>s.
We want to display them as they are, which is like this:
But oXygen's Format and Indent moves the second <ul> up onto the end of the previous line and inserts a space, like this:
Is it possible to either modify Format and Indent so that the former layout is preserved or at least prevent that space being inserted?
(We have problems with formatting generally because we have files created in different editors. We're trying to come up with a single formatting that will be (relatively) easy to maintain whatever the file is edited in.)
I've tried fiddling around with the format settings, but so far, without success.
Cheers,
Eddie.
We have some (DITA) files which have nested <ul>s.
We want to display them as they are, which is like this:
Code: Select all
<ul>
<li>List 1, Item 1.
<ul>
<li>List 2, Item 1.</li>
<li>List 2, Item 2.</li>
</ul>
</li>
<li>List 1, Item 2.</li>
Code: Select all
<ul>
<li>List 1, Item 1. <ul>
<li>List 2, Item 1.</li>
<li>List 2, Item 1.</li>
</ul> </li>
<li>List 1, Item 2.</li>
(We have problems with formatting generally because we have files created in different editors. We're trying to come up with a single formatting that will be (relatively) easy to maintain whatever the file is edited in.)
I've tried fiddling around with the format settings, but so far, without success.
Cheers,
Eddie.