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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---