Skip to content

Commit

Permalink
Do not render hl_style as an HTML attribute
Browse files Browse the repository at this point in the history
Fixes #9390
  • Loading branch information
jmooring authored and bep committed Jan 16, 2022
1 parent 8cd4492 commit 20a7ce7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion markup/goldmark/render_hooks.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}
)
Expand Down

0 comments on commit 20a7ce7

Please sign in to comment.