From 91162bbaea206e92cc514755a8ee288a43763803 Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Fri, 9 Jul 2021 03:30:31 +0200 Subject: Update bluemonday to v1.0.15 (#16379) * update github.com/microcosm-cc/bluemonday * add exec flag to contrib/update_dependencies.sh * Fix TESTS --- modules/markup/html_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules/markup') diff --git a/modules/markup/html_test.go b/modules/markup/html_test.go index a494c5bd18..dff9102bed 100644 --- a/modules/markup/html_test.go +++ b/modules/markup/html_test.go @@ -138,13 +138,13 @@ func TestRender_links(t *testing.T) { `
http://www.example.com/wpstyle/?p=364
`) test( "https://www.example.com/foo/?bar=baz&inga=42&quux", - `https://www.example.com/foo/?bar=baz&inga=42&quux
`) + `https://www.example.com/foo/?bar=baz&inga=42&quux
`) test( "http://142.42.1.1/", ``) test( "https://github.com/go-gitea/gitea/?p=aaa/bbb.html#ccc-ddd", - `https://github.com/go-gitea/gitea/?p=aaa/bbb.html#ccc-ddd
`) + `https://github.com/go-gitea/gitea/?p=aaa/bbb.html#ccc-ddd
`) test( "https://en.wikipedia.org/wiki/URL_(disambiguation)", `https://en.wikipedia.org/wiki/URL_(disambiguation)
`) @@ -162,7 +162,7 @@ func TestRender_links(t *testing.T) { ``) test( "magnet:?xt=urn:btih:5dee65101db281ac9c46344cd6b175cdcadabcde&dn=download", - `magnet:?xt=urn:btih:5dee65101db281ac9c46344cd6b175cdcadabcde&dn=download
`) + `magnet:?xt=urn:btih:5dee65101db281ac9c46344cd6b175cdcadabcde&dn=download
`) // Test that should *not* be turned into URL test( -- cgit v1.2.3