fix server-side markdownify to sanitize links
This commit is contained in:
parent
3b87345365
commit
dfe30e1fe0
1 changed files with 1 additions and 0 deletions
|
|
@ -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"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue