0001-Update-redcarpet-to-3.5.0.patch

Marius BALTEANU, 2019-08-04 21:53

Download (1.46 KB)

View differences:

Gemfile
36 36

  
37 37
# Optional Markdown support, not for JRuby
38 38
group :markdown do
39
  gem "redcarpet", "~> 3.4.0"
39
  gem "redcarpet", "~> 3.5.0"
40 40
end
41 41

  
42 42
# Include database gems for the adapters found in the database
test/unit/lib/redmine/wiki_formatting/markdown_formatter_test.rb
108 108
STR
109 109

  
110 110
    expected = <<-EXPECTED
111
<p>This is some text<sup id="fnref1"><a href="#fn1" rel="footnote">1</a></sup>.</p>
111
<p>This is some text<sup id="fnref1"><a href="#fn1">1</a></sup>.</p>
112 112
<div class="footnotes">
113 113
<hr>
114 114
<ol>
115 115

  
116 116
<li id="fn1">
117
<p>This is the foot note&nbsp;<a href="#fnref1" rev="footnote">&#8617;</a></p>
117
<p>This is the foot note&nbsp;<a href="#fnref1">&#8617;</a></p>
118 118
</li>
119 119

  
120 120
</ol>
121
-