Version: 3.2.0rc1 (using KDE KDE 3.2.0) Installed from: Gentoo Packages OS: Linux When <div> blocks are used to show some code in a Web page, KHTML ignores the carriage returns within the <div> blocks. Here is an URL demonstrating this behavior: http://www.pycs.net/users/0000231/weblog/2004/01/04.html Here is a simple test case: <body> Hiya! I am a test case. <div> This is line 1. This is line 2. </div> End of the test case. </body> This makes KHTML display: Hiya! I am a test case. This is line 1. This is line 2. End of the test case.
your test case will be rendered like this in every other browser too. You overlooked one little detail *** This bug has been marked as a duplicate of 26326 ***
Ack, you're right. My apologies about this -- I'm no Web developper, so my test cases basically consist of, "find the smallest code subset that triggers the abnormal behavior". I should have known to test it in another browser.