diff options
Diffstat (limited to 'modules/markup/html_test.go')
-rw-r--r-- | modules/markup/html_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/markup/html_test.go b/modules/markup/html_test.go index 91ef320b40..07747e97e1 100644 --- a/modules/markup/html_test.go +++ b/modules/markup/html_test.go @@ -323,6 +323,6 @@ func TestRender_ShortLinks(t *testing.T) { `<p><a href="`+notencodedImgurlWiki+`" rel="nofollow"><img src="`+notencodedImgurlWiki+`"/></a></p>`) test( "<p><a href=\"https://example.org\">[[foobar]]</a></p>", - `<p><a href="https://example.org" rel="nofollow">[[foobar]]</a></p>`, - `<p><a href="https://example.org" rel="nofollow">[[foobar]]</a></p>`) + `<p></p><p><a href="https://example.org" rel="nofollow">[[foobar]]</a></p><p></p>`, + `<p></p><p><a href="https://example.org" rel="nofollow">[[foobar]]</a></p><p></p>`) } |