mirror of
https://github.com/redmine/redmine.git
synced 2026-01-20 14:33:06 +01:00
Update redcarpet to 3.5.0 (#31847).
Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@18353 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
2
Gemfile
2
Gemfile
@@ -36,7 +36,7 @@ end
|
||||
|
||||
# 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
|
||||
|
||||
@@ -108,13 +108,13 @@ This is some text[^1].
|
||||
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>
|
||||
|
||||
Reference in New Issue
Block a user