Can you print to console the post.body? perhpas it is stored escaped
for some reason.

On Oct 29, 8:33 pm, Nick Jennings <nkj...@gmail.com> wrote:
> Hello All,
>
>  I'm writing a simple blog and using tinyMCE for text formatting.
> Saving it to the database works fine, but when I try to view it, the
> XHTML is escaped. In the book it says I can use the XML function to
> specify I do not want the content escaped. In my simple blog,
>
> In the default/show.html I put:
>
> {{=XML(post.body, sanitize=True)}}
>
>  But it doesn't seem to make any difference, all the formatting
> characters come out escaped, and showing up in the output.
>
> Any help would be great!
> Thanks,
> -Nick
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to