Did you try to use the XML() helper to use raw html in your views?
On Thursday, 13 June 2013 08:40:31 UTC+1, David Marko wrote: > > How to create a custom helper that accepts body as long multiline html? > For example helper that can create a div like the one below, as parameters > I can provide header as simple text and content body as html, which can be > quite long/complete. I can't use common pattern e.g. {{=DIV(B(I("hello ", > "<world>"))), _class="myclass")}} becuase I can't send body as long html. I > need something more like {{block fancy_div}} body text {{end}} but have to > be able to send aditional parameters. The purpose of this is to create a > set of helpers/widgets, that can help me to work with this page layout > http://easy-themes.tk/themes/preview/ace/elements.html ... so for each > component of this layout I could be able to create some widget/helper. > > > <div class='fancy-box'> > <div class='header'> > header > </div> > <div class='body'> > html body > </div> > </div> > > -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.