mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-25 17:56:32 +00:00
Fixed HTML reader.
This commit is contained in:
@@ -924,8 +924,9 @@ isBlockTag t = tagOpen isBlockTagName (const True) t ||
|
||||
tagComment (const True) t
|
||||
where isBlockTagName ('?':_) = True
|
||||
isBlockTagName ('!':_) = True
|
||||
isBlockTagName x = x `elem` blockTags
|
||||
|| x `elem` eitherBlockOrInline
|
||||
isBlockTagName x = x `Set.member` blockTags
|
||||
|| x `Set.member`
|
||||
eitherBlockOrInline
|
||||
|
||||
isTextTag :: Tag String -> Bool
|
||||
isTextTag = tagText (const True)
|
||||
|
||||
Reference in New Issue
Block a user