Project

General

Profile

Patch #31847 » 0001-Update-redcarpet-to-3.5.0.patch

Marius BĂLTEANU, 2019-08-04 21:53

View differences:

Gemfile
# Optional Markdown support, not for JRuby
group :markdown do
gem "redcarpet", "~> 3.4.0"
gem "redcarpet", "~> 3.5.0"
end
# Include database gems for the adapters found in the database
test/unit/lib/redmine/wiki_formatting/markdown_formatter_test.rb
STR
expected = <<-EXPECTED
<p>This is some text<sup id="fnref1"><a href="#fn1" rel="footnote">1</a></sup>.</p>
<p>This is some text<sup id="fnref1"><a href="#fn1">1</a></sup>.</p>
<div class="footnotes">
<hr>
<ol>
<li id="fn1">
<p>This is the foot note&nbsp;<a href="#fnref1" rev="footnote">&#8617;</a></p>
<p>This is the foot note&nbsp;<a href="#fnref1">&#8617;</a></p>
</li>
</ol>
    (1-1/1)