fix server-side markdownify to sanitize links

This commit is contained in:
Jakob Kramer 2012-02-11 22:22:20 +01:00
parent 3b87345365
commit dfe30e1fe0

View file

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