From 3baa42a4e446d6483ea58143a16a249795cf5204 Mon Sep 17 00:00:00 2001 From: Akhil Gupta Date: Fri, 5 Feb 2021 13:40:55 +0530 Subject: [PATCH] fix breaking sanitization --- internal/sanitize/sanitize.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/sanitize/sanitize.go b/internal/sanitize/sanitize.go index 0b75e3a..511888f 100644 --- a/internal/sanitize/sanitize.go +++ b/internal/sanitize/sanitize.go @@ -350,7 +350,7 @@ func cleanAttributes(a []parser.Attribute, allowed []string) []parser.Attribute // A list of characters we consider separators in normal strings and replace with our canonical separator - rather than removing. var ( - separators = regexp.MustCompile(`[!&_=+?:]`) + separators = regexp.MustCompile(`[!&_="+?:]`) dashes = regexp.MustCompile(`[\-]+`) )