@@ -60,7 +60,7 @@ import Text.Pandoc.Parsing
6060import Text.Pandoc.Readers.HTML ( htmlTag, isBlockTag, isInlineTag )
6161import Text.Pandoc.Shared (trim)
6262import Text.Pandoc.Readers.LaTeX ( rawLaTeXInline, rawLaTeXBlock )
63−import Text.HTML.TagSoup (parseTags, innerText, fromAttrib, Tag(..))
63+import Text.HTML.TagSoup (fromAttrib, Tag(..))
6464import Text.HTML.TagSoup.Match
6565import Data.List ( intercalate, transpose, intersperse )
6666import Data.Char ( digitToInt, isUpper )
@@ -182,8 +182,7 @@ trimTrailingNewlines = reverse . dropWhile (=='\n') . reverse
182182codeBlockPre :: Parser [Char] ParserState Blocks
183183codeBlockPre = try $ do
184184 (t@(TagOpen _ attrs),_) <- htmlTag (tagOpen (=="pre") (const True))
185− result' <- (innerText . parseTags) `fmap` -- remove internal tags
186− manyTill anyChar (htmlTag (tagClose (=="pre")))
185+ result' <- manyTill anyChar (htmlTag (tagClose (=="pre")))
187186 optional blanklines
188187 -- drop leading newline if any
189188 let result'' = case result' of