Skip to content

Commit 7c4537d

Browse files
committed
fix test
1 parent 07ab595 commit 7c4537d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

modules/markup/html_issue_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ func TestRender_IssueList(t *testing.T) {
7474
t.Run("IssueFootnote", func(t *testing.T) {
7575
test(
7676
"foo[^1][^2]\n\n[^1]: bar\n[^2]: baz",
77-
`<p>foo<sup id="fnref:user-content-1-12345"><a href="#fn:user-content-1-12345" rel="nofollow">1</a></sup><sup id="fnref:user-content-2-12345"><a href="#fn:user-content-2-12345" rel="nofollow">2</a></sup></p>
77+
`<p>foo<sup id="fnref:user-content-1-12345"><a href="#fn:user-content-1-12345" rel="nofollow">1 </a></sup><sup id="fnref:user-content-2-12345"><a href="#fn:user-content-2-12345" rel="nofollow">2 </a></sup></p>
7878
<div>
7979
<hr/>
8080
<ol>

modules/markup/markdown/markdown_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ This PR has been generated by [Renovate Bot](https://github.com/renovatebot/reno
223223
<dd>This is another definition of the second term.</dd>
224224
</dl>
225225
<h3 id="user-content-footnotes">Footnotes</h3>
226-
<p>Here is a simple footnote,<sup id="fnref:user-content-1"><a href="#fn:user-content-1" rel="nofollow">1</a></sup> and here is a longer one.<sup id="fnref:user-content-bignote"><a href="#fn:user-content-bignote" rel="nofollow">2</a></sup></p>
226+
<p>Here is a simple footnote,<sup id="fnref:user-content-1"><a href="#fn:user-content-1" rel="nofollow">1 </a></sup> and here is a longer one.<sup id="fnref:user-content-bignote"><a href="#fn:user-content-bignote" rel="nofollow">2 </a></sup></p>
227227
<div>
228228
<hr/>
229229
<ol>

0 commit comments

Comments
 (0)