@@ -12,7 +12,7 @@ import Text.Pandoc.Class (PandocMonad)
1212import Text.Pandoc.Options
1313import Text.Pandoc.Readers.HTML (readHtml)
1414import Text.Pandoc.Readers.Markdown (readMarkdown)
15−import Text.Pandoc.Shared (crFilter, blocksToInlines)
15+import Text.Pandoc.Shared (crFilter, blocksToInlines')
1616import Text.XML.Light
1717
1818type OPML m = StateT OPMLState m
@@ -74,7 +74,7 @@ asHtml :: PandocMonad m => String -> OPML m Inlines
7474asHtml s = do
7575 opts <- gets opmlOptions
7676 Pandoc _ bs <- readHtml def{ readerExtensions = readerExtensions opts } (pack s)
77− return $ fromList $ blocksToInlines bs
77+ return $ blocksToInlines' bs
7878
7979asMarkdown :: PandocMonad m => String -> OPML m Blocks
8080asMarkdown s = do