Hello, 1. Unsafe format can be specified in methods setTemplateText, bindString and format of WTemplate.
2. Attribute "id" is managed by Wt, so you should not change it manually. Change "class" instead if you want access this div from CSS/JS. Best regards, Boris Nagaev On Mon, Oct 6, 2014 at 9:28 AM, Jeffrey Scott Flesher Gmail <jeffrey.scott.fles...@gmail.com> wrote: > I have a template I call from WTemplate, and it gives me this error message: > [secure] "XSS: discarding invalid attribute: id: vlink" > where vlink is just a div it (<div id='vlink' style='text-align: center; > margin: 0 auto;'>) > I do not see a way to do something like: > setTextFormat(Wt::XHTMLUnsafeText); > how can I set this? > > Thanks > Jeff Flesher > > > ------------------------------------------------------------------------------ > Slashdot TV. Videos for Nerds. Stuff that Matters. > http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk > _______________________________________________ > witty-interest mailing list > witty-interest@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/witty-interest > ------------------------------------------------------------------------------ Slashdot TV. Videos for Nerds. Stuff that Matters. http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk _______________________________________________ witty-interest mailing list witty-interest@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/witty-interest