summaryrefslogtreecommitdiffstats
path: root/modules/markup
diff options
context:
space:
mode:
authorzeripath <art27@cantab.net>2021-04-10 00:13:06 +0100
committerGitHub <noreply@github.com>2021-04-09 19:13:06 -0400
commitb9ed3cbc26ca20e0c88a66ed42dbc1268a2343bc (patch)
tree4979ed35cfe1aa219a70229a6c34b746dca3f648 /modules/markup
parent07aa3845f88b83c08b64ee6d96e250ac5d1359fc (diff)
downloadgitea-b9ed3cbc26ca20e0c88a66ed42dbc1268a2343bc.tar.gz
gitea-b9ed3cbc26ca20e0c88a66ed42dbc1268a2343bc.zip
Upgrade to bluemonday 1.0.7 (#15379)
* Upgrade to bluemonday 1.0.7 Fix #15349 Signed-off-by: Andrew Thornton <art27@cantab.net> * resolve unit test Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'modules/markup')
-rw-r--r--modules/markup/html_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/markup/html_test.go b/modules/markup/html_test.go
index a78b936f87..1e39be401b 100644
--- a/modules/markup/html_test.go
+++ b/modules/markup/html_test.go
@@ -124,7 +124,7 @@ func TestRender_links(t *testing.T) {
`<p><a href="http://www.example.com/wpstyle/?p=364" rel="nofollow">http://www.example.com/wpstyle/?p=364</a></p>`)
test(
"https://www.example.com/foo/?bar=baz&inga=42&quux",
- `<p><a href="https://www.example.com/foo/?bar=baz&inga=42&quux=" rel="nofollow">https://www.example.com/foo/?bar=baz&amp;inga=42&amp;quux</a></p>`)
+ `<p><a href="https://www.example.com/foo/?bar=baz&inga=42&quux" rel="nofollow">https://www.example.com/foo/?bar=baz&amp;inga=42&amp;quux</a></p>`)
test(
"http://142.42.1.1/",
`<p><a href="http://142.42.1.1/" rel="nofollow">http://142.42.1.1/</a></p>`)