Skip to content

Commit

Permalink
Don't use BlueCloth in the examples
Browse files Browse the repository at this point in the history
It's prone to XSS attacks, sooo...
  • Loading branch information
dasch committed Nov 21, 2014
1 parent e0162d6 commit 8fd0a49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

2 comments on commit 8fd0a49

@rkh
Copy link

@rkh rkh commented on 8fd0a49 Nov 21, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@bquorning
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Please sign in to comment.