loading up the forgejo repo on tangled to test page performance
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Use relative links for commits, mentions, and issues in markdown (#29427) (followup)

Signed-off-by: Gergely Nagy <forgejo@gergo.csillger.hu>

authored by

Gergely Nagy and committed by
Earl Warren
3bd42e58 024bfb7f

+1 -1
+1 -1
modules/templates/util_render_test.go
··· 61 61 62 62 func TestApostrophesInMentions(t *testing.T) { 63 63 rendered := RenderMarkdownToHtml(context.Background(), "@mention-user's comment") 64 - assert.EqualValues(t, "<p><a href=\"http://localhost:3000/mention-user\" rel=\"nofollow\">@mention-user</a>&#39;s comment</p>\n", rendered) 64 + assert.EqualValues(t, template.HTML("<p><a href=\"/mention-user\" rel=\"nofollow\">@mention-user</a>&#39;s comment</p>\n"), rendered) 65 65 } 66 66 67 67 func TestRenderCommitBody(t *testing.T) {