diff options
author | Bjørn Erik Pedersen <[email protected]> | 2024-11-23 14:28:20 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2024-11-23 15:11:09 +0100 |
commit | 5a50eee9da934c01e56e3df4c0c425878bc1caff (patch) | |
tree | 2d8ff7e29a281acc2e90864435794ad8fc1a41c7 /minifiers | |
parent | 8d017a60fb53b3ffb7b57f6c483fe92c3f2813cd (diff) | |
download | hugo-5a50eee9da934c01e56e3df4c0c425878bc1caff.tar.gz hugo-5a50eee9da934c01e56e3df4c0c425878bc1caff.zip |
minifiers: Add failing test for upstream bug
See #13082
Diffstat (limited to 'minifiers')
-rw-r--r-- | minifiers/minifiers_test.go | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/minifiers/minifiers_test.go b/minifiers/minifiers_test.go index bfd743fae..b81c632fe 100644 --- a/minifiers/minifiers_test.go +++ b/minifiers/minifiers_test.go @@ -153,10 +153,12 @@ func TestBugs(t *testing.T) { rawString string expectedMinString string }{ - // https://github.com/gohugoio/hugo/issues/5506 + // Issue 5506 {media.Builtin.CSSType, " body { color: rgba(000, 000, 000, 0.7); }", "body{color:rgba(0,0,0,.7)}"}, - // https://github.com/gohugoio/hugo/issues/8332 + // Issue 8332 {media.Builtin.HTMLType, "<i class='fas fa-tags fa-fw'></i> Tags", `<i class='fas fa-tags fa-fw'></i> Tags`}, + // Issue #13082 + {media.Builtin.HTMLType, "<gcse:searchresults-only></gcse:searchresults-only>", `<gcse:searchresults-only></gcse:searchresults-only>`}, } { var b bytes.Buffer |