Hi,
So do you think prettyprint should ignore the newline and completely remove it as opposed to replacing it with a single space? See the extra space below:
Code:
<div class="footnote">
<p>[1](space)Some text.(space)[<a href="#id001" id="ftn.id001">↑</a>]</p>
</div>
Otherwise, you can see things like:
Code:
<p>
This
is
a
line
of
text.
</p>
become:
Code:
<p>Thisisalineoftext.</p>
instead of:
[code]
<p>This is a line of text.</p>
[/code.
So dropping newlines and not replacing them with spaces can lead to nonsense just as easily as it can lead to good things. That is why I try to have prettyprint leave whitespace inside of tags alone as much as possible.
KevinH