git.iko.soy/typeable/pandoc
on master help sign in
HTML reader: haddock comment fix.
e962c76fiddlosopher
src/Text/Pandoc/Readers/HTML.hs+1−1
@@ -83,7 +83,7 @@ inlinesTilEnd tag = try (do
83 inlines <- manyTill inline (htmlEndTag tag)
83 inlines <- manyTill inline (htmlEndTag tag)
84 return inlines)
84 return inlines)
85
85
86−-- | Extract type from a tag: e.g. 'br' from '<br>'
86+-- | Extract type from a tag: e.g. @br@ from @\<br\>@
87extractTagType :: String -> String
87extractTagType :: String -> String
88extractTagType ('<':rest) =
88extractTagType ('<':rest) =
89 let isSpaceOrSlash c = c `elem` "/ \n\t" in
89 let isSpaceOrSlash c = c `elem` "/ \n\t" in