We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c461eb commit 645c0d8Copy full SHA for 645c0d8
modules/markup/html.go
@@ -298,7 +298,7 @@ func RenderEmoji(
298
return ctx.postProcess(rawHTML)
299
}
300
301
-var tagCleaner = regexp.MustCompile(`<((?:/?\w+/\w+)|(?:/[\w ]+/)|(/?[hH][tT][mM][lL][ />]))`)
+var tagCleaner = regexp.MustCompile(`<((?:/?\w+/\w+)|(?:/[\w ]+/)|(/?[hH][tT][mM][lL][ />])|(/?[hH][eE][aA][dD][ />]))`)
302
var nulCleaner = strings.NewReplacer("\000", "")
303
304
func (ctx *postProcessCtx) postProcess(rawHTML []byte) ([]byte, error) {
0 commit comments