diff options
Diffstat (limited to 'publisher/htmlElementsCollector_test.go')
-rw-r--r-- | publisher/htmlElementsCollector_test.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/publisher/htmlElementsCollector_test.go b/publisher/htmlElementsCollector_test.go index 3ef159d8b..fe3876ae6 100644 --- a/publisher/htmlElementsCollector_test.go +++ b/publisher/htmlElementsCollector_test.go @@ -51,6 +51,8 @@ func TestClassCollector(t *testing.T) { {"duplicates", `<div class="b a b"></div>`, f("div", "a b", "")}, {"single quote", `<body class='b a'></body>`, f("body", "a b", "")}, {"no quote", `<body class=b id=myelement></body>`, f("body", "b", "myelement")}, + // https://github.com/gohugoio/hugo/issues/7161 + {"minified a href", `<a class="b a" href=/></a>`, f("a", "a b", "")}, {"AlpineJS bind 1", `<body> <div x-bind:class="{ |