diff options
author | Joe Mooring <joe.mooring@veriphor.com> | 2022-01-14 19:29:39 -0800 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2022-01-16 17:09:18 +0100 |
commit | 20a7ce7c1bf60709baf270398370e41162222d87 (patch) | |
tree | 2e5c3c9ac45694a0284c1b859bf987a6784313ef /markup/goldmark/render_hooks.go | |
parent | 8cd4492407ad16db3a7ae1009130ad111dd7c714 (diff) |
Do not render hl_style as an HTML attribute
Fixes #9390
Diffstat (limited to 'markup/goldmark/render_hooks.go')
-rw-r--r-- | markup/goldmark/render_hooks.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/markup/goldmark/render_hooks.go b/markup/goldmark/render_hooks.go index 0e942e6f5..9e9ca1976 100644 --- a/markup/goldmark/render_hooks.go +++ b/markup/goldmark/render_hooks.go @@ -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, } ) |