"Format and Indent" damages markup
Posted: Wed Sep 24, 2008 4:27 pm
Suppose I have the following code in a <p> element in an XHTML document:
If I use Oxygen's "Format and Indent" function, it ends up as:
Notice that the original code is marked up so that there is no space between the citation and the comma that follows it. The "Format and Indent" function does not respect this, and inserts whitespace, which comes through when the document is viewed in a browser.
Is there currently a way to use the "Format and Indent" function without it damaging my markup in this way? If not, then I guess this is a bug in Oxygen.
Thanks,
Sam
Code: Select all
... blah blah, <a href="a_long_url_linking_to_my_source"><cite>Title of the source I'm citing</cite></a>, blah blah ...
Code: Select all
... blah blah, <a
href="a_long_url_linking_to_my_source">
<cite>Title of the source I'm citing</cite>
</a>, blah blah ...
Is there currently a way to use the "Format and Indent" function without it damaging my markup in this way? If not, then I guess this is a bug in Oxygen.
Thanks,
Sam