The behavior of <pre> is broken so that the newline
is not always properly being eaten after the open of the tag. In addition we were eating the first newline
after all other tags. This patch stops eating newlines after other tags and refines the behavior for pre
to catch all cases.
Reviewed by sullivan
Test cases added: fast/text/whitespace/030.html
* khtml/html/htmltokenizer.cpp:
(khtml::HTMLTokenizer::parseTag):
(khtml::HTMLTokenizer::write):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9396
268f45cc-cd09-0410-ab3c-
d52691b4dbfc