Below is a testing php script,

<?php
    echo $_GET['abc'], "<br/>";
    echo htmlentities($_GET['abc']);
?>

If I retrieve the contents of that page with chromium browser, showing
the source code reveals contents like this:

<><br/>&lt;&gt;

But with QWebFrame::toHtml(), all <> are encoded, and I got:

<html><head></head><body>&lt;&gt;<br>&lt;&gt; </body></html>

That's weird, anyone know how to "stop" QtWebkit from encoding them?



--
Best Regards,
Aaron Lewis - PGP: 0xDFE6C29E ( http://keyserver.veridis.com )
Finger Print: 9482 448F C7C3 896C 1DFE 7DD3 2492 A7D0 DFE6 C29E
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to