I was flummoxed until ikegami helpfully pointed out that the long regex would not wrap inside the code tags without a newline. Although I was sure I had included at least one newline, I went back and made certain that newlines preceded and followed the oneliner regex.
What I learned is that wrapping does not happen if the only newline between code tags immediately preceds the close code tag.
In other words, this won't wrap:
<code>really-long-regular-expression
[newline]</code>
but this will:
<code>[newline]
really-long-regular-expression</code>
On a side note, as evidenced by the consideration, it seems that monks abhor unwrapped text in much the same way that nature abhors a vacuum.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Newline in code tags observation
by polettix (Vicar) on Mar 06, 2006 at 15:52 UTC | |
by moklevat (Priest) on Mar 06, 2006 at 16:10 UTC |