This one: new WText("<html><head><title>Title</title></head><body><h1>First</h1><h2>Second</h2><p>Paragraph</p></body></html>", root());
Appears this in browser: <div id="ou8lcam"><html></html></div> WText - Remove everything inside "<html>" tags. And this one: new WText("<script type=text/...(more code) Appears this in browser: <span id="ou8lcau"><script type=text/ WText - Translate "<" to "<" and ">" to ">" Please, check: https://github.com/JohnRobson/Wt-Tests/blob/master/HTML/test.cpp John ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb _______________________________________________ witty-interest mailing list witty-interest@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/witty-interest