On Tue, Apr 2, 2013 at 7:27 PM, Aaron Lewis <the.warl0ck.1...@gmail.com>wrote:
> I'm running a test app with QtWebkit, looks like webkit is attempting > to fix invalid markups automatically, > > For page contents like this, > > <body><><br/><></body> > > The first <> is considered invalid if refer to W3C standards, thus > webkit would encode it to <> > > Can this feature be turned off? > > As Ben pointed out, I should be modifying the HTML5 Parser, so where > should I start? > HTMLTokenizer.cpp and HTMLTreeBuilder.cpp in Source/WebCore/html/parser/ are two files you want to look into. However, I strongly advice you not to modify the parser as that can easily lead to all sorts of bugs including security vulnerabilities. - R. Niwa
_______________________________________________ webkit-help mailing list webkit-help@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-help