Permalink
Browse files

Make sure we purify the RST output here

  • Loading branch information...
paragonie-security committed Jul 1, 2016
1 parent f08aa7a commit 331da60b51713a1bec2e4bb61c666c5061006e2e
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/Cabin/Hull/Lens/cargo/blog_read_body.twig
@@ -1,7 +1,7 @@
{% if blogpost.format == 'RST' %}{#
- #}{{ blogpost.snippet|RST }}{#
+ #}{{ blogpost.snippet|CleanRST }}{#
#}<span id="after-fold"></span>{#
- #}{{ blogpost.after_fold|RST }}{#
+ #}{{ blogpost.after_fold|CleanRST }}{#
#}{% elseif blogpost.format == 'Markdown' %}{#
#}{{ blogpost.snippet|default("")|CleanMarkdown }}{#
#}<span id="after-fold"></span>{#

0 comments on commit 331da60

Please sign in to comment.