User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4a) Gecko/20030303 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4a) Gecko/20030303 Inside of <PRE>, if CR-LFs pairs were converted by the webserver to their HTML meta characters ( ), Mozilla renders them as two lines. Other browsers render a single line. Reproducible: Always Steps to Reproduce: 1. Open http://www.onnet.cc/mozzNewlines.html in Moz. 2. Open same URL in NS4 or IE. Actual Results: NS4 and IE render a single newline per pair. Moz renders two. Note that the same string inside the sample TEXTAREA does render okay. Expected Results: Should render the one line, similar to a raw CRLF does already inside of <PRE></PRE>. Some server-side rawtext-to-html char translators convert (char)10 and (char)13, and (char)9 among others, to their HTML meta equivs to effect html-obfuscation or perhaps some level of cross-site scripting or form safety.
Parser. We're ending up with two newlines in the content model....
14 years ago
Not a parser bug. Maybe a layout bug or not a bug at all.
I'm claiming this is not a bug, but see bug 557197.