Properly handle script blocks in strict mode.
(That is, markdown-markdown_in_html_blocks.) Previously a spurious `<p>` tag was being added. Closes #1093.
This commit is contained in:
parent
3b79246c85
commit
2f00f5c7c2
1 changed files with 3 additions and 1 deletions
|
@ -902,7 +902,9 @@ plain = fmap B.plain . trimInlinesF . mconcat <$> many1 inline
|
|||
--
|
||||
|
||||
htmlElement :: MarkdownParser String
|
||||
htmlElement = strictHtmlBlock <|> liftM snd (htmlTag isBlockTag)
|
||||
htmlElement = rawVerbatimBlock
|
||||
<|> strictHtmlBlock
|
||||
<|> liftM snd (htmlTag isBlockTag)
|
||||
|
||||
htmlBlock :: MarkdownParser (F Blocks)
|
||||
htmlBlock = do
|
||||
|
|
Loading…
Add table
Reference in a new issue