in reply to Re: &bull;Re: Code that contains </code>
in thread Code that contains </code>

Huh? The point of PRE is to preserve all whitespace. Newline is whitespace. Hence, any textual newline within a PRE element is preserved.

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.

  • Comment on •Re: Re: •Re: Code that contains </code>

Replies are listed 'Best First'.
Re: &bull;Re: Re: &bull;Re: Code that contains </code>
by dws (Chancellor) on Aug 05, 2003 at 22:09 UTC
    The point of PRE is to preserve all whitespace. Newline is whitespace.

    Indeed. But if there's a newline within a <pre> block, browsers will render that line with an extra blank line on the top. Try it.

    Sigh. Someone slipped crack into my coffee.