On Tue, Jul 31, 2012 at 1:26 AM, Bill Seitz <flux...@gmail.com> wrote:
> Here's what I've done:
> * installed python-markdown in my environment
> * included 'safemarkdown': utils.safemarkdown in my globals passed to
> render() in my app code
> * called like $safemarkdown(note.description) in my template which is
> rendering a list of notes
>
> Unfortunately when I view that page output, I get visible/escaped tags like
> <p> in the content.
>
> What am I doing wrong?

You should use $:safemarkdown(note.description)

$foo always escapes the value. $:foo renders it verbatim.

Anand

-- 
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to webpy@googlegroups.com.
To unsubscribe from this group, send email to 
webpy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/webpy?hl=en.

Reply via email to