diff --git a/modules/markup/html_test.go b/modules/markup/html_test.go index cd235331bc..fa3855ed34 100644 --- a/modules/markup/html_test.go +++ b/modules/markup/html_test.go @@ -1202,7 +1202,7 @@ func TestRender_FilePreview(t *testing.T) { `` + `` + `` - linkRendered := `eeb243c339/path/to/file%20%23.txt (L1)` + linkRendered := `eeb243c339/path/to/file #.txt (L1)` t.Run("file with strange characters in name", func(t *testing.T) { testRender(