Mercurial > public > sg101
diff gpp/templates/comments/markdown_preview.html @ 136:d203a4a986d2
Markitup preview function wasn't working correctly due to the user data being escaped before going into the markdown and smiley filters.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Fri, 27 Nov 2009 03:50:34 +0000 |
parents | 06503edcc56b |
children |
line wrap: on
line diff
--- a/gpp/templates/comments/markdown_preview.html Fri Nov 27 03:30:15 2009 +0000 +++ b/gpp/templates/comments/markdown_preview.html Fri Nov 27 03:50:34 2009 +0000 @@ -1,5 +1,3 @@ -{% load markup %} -{% load smiley_tags %} <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> @@ -9,6 +7,6 @@ <title>Markdown Preview</title> <link rel="stylesheet" type="text/css" href="~/templates/preview.css" /> </head> -{{ data|smiley_markdown|markdown:"safe" }} +{{ data|safe }} </body> </html>