From 3bd42e5879a761cc5e4dfd4d24f5f39ea1ae2d0a Mon Sep 17 00:00:00 2001 From: Gergely Nagy Date: Sun, 17 Mar 2024 18:15:10 +0100 Subject: [PATCH] Use relative links for commits, mentions, and issues in markdown (#29427) (followup) Signed-off-by: Gergely Nagy --- modules/templates/util_render_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/templates/util_render_test.go b/modules/templates/util_render_test.go index db0b5e807f..5fea4d9a16 100644 --- a/modules/templates/util_render_test.go +++ b/modules/templates/util_render_test.go @@ -61,7 +61,7 @@ func TestMain(m *testing.M) { func TestApostrophesInMentions(t *testing.T) { rendered := RenderMarkdownToHtml(context.Background(), "@mention-user's comment") - assert.EqualValues(t, "

@mention-user's comment

\n", rendered) + assert.EqualValues(t, template.HTML("

@mention-user's comment

\n"), rendered) } func TestRenderCommitBody(t *testing.T) {