mirror of
https://github.com/redmine/redmine.git
synced 2025-11-11 07:46:02 +01:00
Fixed Layout/HeredocIndentation: Use 2 spaces for indentation in a heredoc by using <<~ instead of <<- (#32424).
git-svn-id: http://svn.redmine.org/redmine/trunk@21163 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -134,13 +134,13 @@ class Redmine::WikiFormatting::CommonMark::FormatterTest < ActionView::TestCase
|
|||||||
end
|
end
|
||||||
|
|
||||||
def test_footnotes
|
def test_footnotes
|
||||||
text = <<-STR
|
text = <<~STR
|
||||||
This is some text[^1].
|
This is some text[^1].
|
||||||
|
|
||||||
[^1]: This is the foot note
|
[^1]: This is the foot note
|
||||||
STR
|
STR
|
||||||
|
|
||||||
expected = <<-EXPECTED
|
expected = <<~EXPECTED
|
||||||
<p>This is some text<sup><a href="#fn1" id="fnref1">1</a></sup>.</p>
|
<p>This is some text<sup><a href="#fn1" id="fnref1">1</a></sup>.</p>
|
||||||
<ol>
|
<ol>
|
||||||
<li id="fn1">
|
<li id="fn1">
|
||||||
|
|||||||
Reference in New Issue
Block a user