Do not render hl_style as an HTML attribute

Fixes #9390
This commit is contained in:
Joe Mooring 2022-01-14 19:29:39 -08:00 committed by Bjørn Erik Pedersen
parent 8cd4492407
commit 20a7ce7c1b

View file

@ -148,8 +148,9 @@ var (
// Attributes with special meaning that does not make sense to render in HTML.
attributeExcludes = map[string]bool{
"linenos": true,
"hl_lines": true,
"hl_style": true,
"linenos": true,
"linenostart": true,
}
)