You can use response.write and pass escape=False as parameter. 
 {{response.write("<h1>text</h1>", escape=False)}}

El lunes, 15 de julio de 2013 08:43:49 UTC-4, wdtnh escribió:
>
> I've used XML() to escape some very basic html tags (e.g., bold, italic) I 
> have embedded in a string that comes from a database.  In the view, I would 
> like the affected text rendered accordingly but I'm only getting the string 
> displayed with the tags shown e.g.,  Hi I'm <b>bold</b>.  I would like the 
> text to be rendered as intended.  
>
> I'm guessing I'm missing a step here.  Any help would be greatly 
> appreciated.
>
> thanks in advance
>

-- 

--- 
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.


Reply via email to