mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-26 02:06:32 +00:00
HTML reader: haddock comment fix.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@690 788f1e2b-df1e-0410-8736-df70ead52e1b
This commit is contained in:
@@ -83,7 +83,7 @@ inlinesTilEnd tag = try (do
|
||||
inlines <- manyTill inline (htmlEndTag tag)
|
||||
return inlines)
|
||||
|
||||
-- | Extract type from a tag: e.g. 'br' from '<br>'
|
||||
-- | Extract type from a tag: e.g. @br@ from @\<br\>@
|
||||
extractTagType :: String -> String
|
||||
extractTagType ('<':rest) =
|
||||
let isSpaceOrSlash c = c `elem` "/ \n\t" in
|
||||
|
||||
Reference in New Issue
Block a user