aboutsummaryrefslogtreecommitdiffstats
path: root/modules/markup
diff options
context:
space:
mode:
authorRobert Kaussow <xoxys@rknet.org>2022-03-24 16:47:37 +0100
committerGitHub <noreply@github.com>2022-03-24 11:47:37 -0400
commit909804b717713d9dddf9589a31b825e75ecd105e (patch)
treeed92a38f70478c93d054fcb7ff5998c9bd1533ce /modules/markup
parentdef545676f9612b1138016bb0e5304afd4ac37f0 (diff)
downloadgitea-909804b717713d9dddf9589a31b825e75ecd105e.tar.gz
gitea-909804b717713d9dddf9589a31b825e75ecd105e.zip
Bump goldmark to v1.4.11 (#19201)
* Bump goldmark to v1.4.11 * add testcase Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: Andrew Thornton <art27@cantab.net>
Diffstat (limited to 'modules/markup')
-rw-r--r--modules/markup/markdown/markdown_test.go13
1 files changed, 13 insertions, 0 deletions
diff --git a/modules/markup/markdown/markdown_test.go b/modules/markup/markdown/markdown_test.go
index 54c2ea87d6..a069d402bb 100644
--- a/modules/markup/markdown/markdown_test.go
+++ b/modules/markup/markdown/markdown_test.go
@@ -199,6 +199,11 @@ func testAnswers(baseURLContent, baseURLImages string) []string {
</li>
</ol>
</div>
+`, `<ul>
+<li class="task-list-item"><input type="checkbox" disabled="" data-source-position="3"/> If you want to rebase/retry this PR, click this checkbox.</li>
+</ul>
+<hr/>
+<p>This PR has been generated by <a href="https://github.com/renovatebot/renovate" rel="nofollow">Renovate Bot</a>.</p>
`,
}
}
@@ -271,6 +276,14 @@ Here is a simple footnote,[^1] and here is a longer one.[^bignote]
Add as many paragraphs as you like.
`,
+ `
+- [ ] <!-- rebase-check --> If you want to rebase/retry this PR, click this checkbox.
+
+---
+
+This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
+
+<!-- test-comment -->`,
}
func TestTotal_RenderWiki(t *testing.T) {