From 6e1a65242954f788ac9c43566cb5d6432b47e350 Mon Sep 17 00:00:00 2001 From: fiddlosopher Date: Sun, 30 Dec 2007 02:21:01 +0000 Subject: Fixed bug in HTML reader: it was looking for tag, not . git-svn-id: https://pandoc.googlecode.com/svn/trunk@1161 788f1e2b-df1e-0410-8736-df70ead52e1b --- Text/Pandoc/Readers/HTML.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Text/Pandoc') diff --git a/Text/Pandoc/Readers/HTML.hs b/Text/Pandoc/Readers/HTML.hs index 4ce823812..c3d597f00 100644 --- a/Text/Pandoc/Readers/HTML.hs +++ b/Text/Pandoc/Readers/HTML.hs @@ -442,7 +442,7 @@ rawHtmlInline = do betweenTags tag = try $ htmlTag tag >> inlinesTilEnd tag >>= return . normalizeSpaces -emph = (betweenTags "em" <|> betweenTags "it") >>= return . Emph +emph = (betweenTags "em" <|> betweenTags "i") >>= return . Emph strong = (betweenTags "b" <|> betweenTags "strong") >>= return . Strong -- cgit v1.2.3