Merge remote-tracking branch 'upstream/pull/2111'

This commit is contained in:
Tom Hughes 2019-01-16 10:15:34 +00:00
commit 6fb660f0af
7 changed files with 23 additions and 33 deletions

View file

@ -1,5 +1,5 @@
Sanitize::Config::OSM = Sanitize::Config::RELAXED.dup
Sanitize::Config::OSM[:elements] -= %w[div style]
Sanitize::Config::OSM[:add_attributes] = { "a" => { "rel" => "nofollow" } }
Sanitize::Config::OSM[:add_attributes] = { "a" => { "rel" => "nofollow noopener noreferer" } }
Sanitize::Config::OSM[:remove_contents] = %w[script style]

View file

@ -1626,7 +1626,7 @@ en:
edit: Edit
preview: Preview
markdown_help:
title_html: Parsed with <a href="https://daringfireball.net/projects/markdown/">Markdown</a>
title_html: Parsed with <a href="https://kramdown.gettalong.org/quickref.html">kramdown</a>
headings: Headings
heading: Heading
subheading: Subheading