Patch #31847 » 0001-Update-redcarpet-to-3.5.0.patch
| 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 <a href="#fnref1" rev="footnote">↩</a></p>
|
||
|
<p>This is the foot note <a href="#fnref1">↩</a></p>
|
||
|
</li>
|
||
|
</ol>
|
||