Skip to content
/ hugo Public
forked from gohugoio/hugo

Commit

Permalink
Do not render hl_style as an HTML attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
jmooring committed Jan 15, 2022
1 parent 8cd4492 commit 58a0edc
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 58a0edc

Please sign in to comment.