From 8fd0a497388fcbab70d9cd28fb9a357ffee07704 Mon Sep 17 00:00:00 2001 From: Daniel Schierbeck Date: Fri, 21 Nov 2014 16:25:29 +0100 Subject: [PATCH] Don't use BlueCloth in the examples It's prone to XSS attacks, sooo... --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 533926e..a0b92b2 100644 --- a/README.md +++ b/README.md @@ -71,7 +71,7 @@ class Posts::CommentPresenter < Curly::Presenter presents :comment def body - BlueCloth.new(@comment.body).to_html + SafeMarkdown.render(@comment.body) end def author_link