diff options
| author | Justin Wood <[email protected]> | 2022-09-28 11:20:53 -0400 |
|---|---|---|
| committer | John MacFarlane <[email protected]> | 2022-09-28 14:04:07 -0700 |
| commit | 740396d1ed91d03534b99ad8ccf545d916ee3f7a (patch) | |
| tree | d08f2aa497cc52cf2bcadb93fa6901cf200957b5 /src | |
| parent | 4abb9d0ad8dbb88fbc443a78d5a1b116cb7a5816 (diff) | |
HTML Reader: Tests for 'tt' and 'code' elements (#8330).
tt is a deprecated element in HTML, but is still used in the wild in
some places, support reading it as just another 'code' element.
Commit 4abb9d0ad8dbb88fbc443a78d5a1b116cb7a5816 was originally
part of this PR as well.
Diffstat (limited to 'src')
| -rw-r--r-- | src/Text/Pandoc/Readers/HTML.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Readers/HTML.hs b/src/Text/Pandoc/Readers/HTML.hs index 7d192a2d3..b3a2b8c42 100644 --- a/src/Text/Pandoc/Readers/HTML.hs +++ b/src/Text/Pandoc/Readers/HTML.hs @@ -662,7 +662,7 @@ inline = pTagText <|> do "img" -> pImage "svg" -> pSvg "bdo" -> pBdo - "tt" -> pCode + "tt" -> pCode "code" -> pCode "samp" -> pCodeWithClass "samp" "sample" "var" -> pCodeWithClass "var" "variable" |
