Is there a way to preserve linebreaks in nodes without typing <br>?
To what purpose?
You've used <code> properly in your OP and I don't see anything in this thread that can't be attributed to individual style where <br> would be needed unless it's the parent of this post, where (personal style, again), I might have broken up your monolithic text into paragraphs, using <p>... </p> pairs.
For more general advice on formatting your nodes, check Writeup Formatting Tips
and because it's comprehensive, follow, near the bottom, the link to Perl Monks Approved HTML tags
And lest we forget, your browser's "View Source" may add some answers, if you see some kind of fancy formatting not readily attributable to breaks, paragraphs, or (not previously mentioned) lists whether ordered or unordered.
Just BTW, there are no <br>
s in the source of this entry.
Are you posting in the right place? Check out Where do I post X? to know for sure.
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
Want more info? How to link or
or How to display code and escape characters
are good places to start.