Summary: | khtml incorrectly renders tab characters (konqueror and Safari) | ||
---|---|---|---|
Product: | [Applications] konqueror | Reporter: | theosib |
Component: | khtml parsing | Assignee: | Konqueror Developers <konq-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
theosib
2004-11-10 15:30:10 UTC
very possible CVS commit by carewolf: Fix stupid mixing of PRE, BR and tabulators. BUG: 93035 M +3 -1 ChangeLog 1.407 M +3 -0 html/htmltokenizer.cpp 1.300 --- kdelibs/khtml/ChangeLog #1.406:1.407 @@ -1,5 +1,7 @@ 2005-03-21 Allan Sandfeld Jensen <kde@carewolf.com> - * html/htmltokenizer.cpp: Only skip first LF if immediately after PRE tag + * html/htmltokenizer.cpp: + - Only skip first LF if immediately after PRE tag. + - Set prePos to 0 after BR tag 2005-03-18 Allan Sandfeld Jensen <kde@carewolf.com> --- kdelibs/khtml/html/htmltokenizer.cpp #1.299:1.300 @@ -1139,4 +1139,7 @@ void HTMLTokenizer::parseTag(TokenizerSt discard = AllDiscard; break; + case ID_BR: + prePos = 0; + break; case ID_SCRIPT: if (beginTag) { |