Skip to content

Commit

Permalink
Merge pull request #70 from Omikhleia/fix-64
Browse files Browse the repository at this point in the history
fix: Style tag must be a block element
  • Loading branch information
Witiko authored May 9, 2024
2 parents 75f61d0 + b6a4dd1 commit 5d9e405
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lunamark/reader/markdown.lua
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,8 @@ parsers.block_keyword =
parsers.keyword_exact("noscript") + parsers.keyword_exact("table") +
parsers.keyword_exact("tbody") + parsers.keyword_exact("tfoot") +
parsers.keyword_exact("thead") + parsers.keyword_exact("th") +
parsers.keyword_exact("td") + parsers.keyword_exact("tr")
parsers.keyword_exact("td") + parsers.keyword_exact("tr") +
parsers.keyword_exact("style")

-- There is no reason to support bad html, so we expect quoted attributes
parsers.htmlattributevalue
Expand Down

0 comments on commit 5d9e405

Please sign in to comment.