Merge pull request #2868 from gandaro/2677-sanitize-bio
fix server-side markdownify to sanitize links
This commit is contained in:
commit
42bed7ae1f
1 changed files with 1 additions and 0 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in a new issue