On Tue, Jul 31, 2012 at 1:26 AM, Bill Seitz <[email protected]> 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/webpy?hl=en.
