Merge pull request #2868 from gandaro/2677-sanitize-bio

fix server-side markdownify to sanitize links
This commit is contained in:
Maxwell Salzberg 2012-02-18 16:23:33 -08:00
commit 42bed7ae1f

View file

@ -19,6 +19,7 @@ module MarkdownifyHelper
render_options[:filter_html] = true
render_options[:hard_wrap] ||= true
render_options[:safe_links_only] = true
# This ugly little hack basically means
# "Give me the rawest contents of target available"