summaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Readers/HTML.hs
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2022-09-28 13:45:48 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2022-09-28 13:45:48 -0700
commit4abb9d0ad8dbb88fbc443a78d5a1b116cb7a5816 (patch)
tree407199f9135823a8068ffa9cdbce0a878af82d9d /src/Text/Pandoc/Readers/HTML.hs
parentfd1b3f2b6fd3057ea9a3d3916a79f3c533af34ed (diff)
HTML reader: fix regression for `<tt>`.
It was no longer being parsed as Code. See #8330.
Diffstat (limited to 'src/Text/Pandoc/Readers/HTML.hs')
-rw-r--r--src/Text/Pandoc/Readers/HTML.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Readers/HTML.hs b/src/Text/Pandoc/Readers/HTML.hs
index 4e2be9382..7d192a2d3 100644
--- a/src/Text/Pandoc/Readers/HTML.hs
+++ b/src/Text/Pandoc/Readers/HTML.hs
@@ -662,6 +662,7 @@ inline = pTagText <|> do
"img" -> pImage
"svg" -> pSvg
"bdo" -> pBdo
+ "tt" -> pCode
"code" -> pCode
"samp" -> pCodeWithClass "samp" "sample"
"var" -> pCodeWithClass "var" "variable"