aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/ImageSize.hs
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2021-03-21 23:38:47 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2021-03-21 23:40:19 -0700
commit052056289fc6f884a2a8799dacca64a16248a5c2 (patch)
treef5fa7f841d9b52b6d14a3894b53006bf2a520fac /src/Text/Pandoc/ImageSize.hs
parent13021313e87a3074a113c1b81bcd8e5d28a279fb (diff)
downloadpandoc-052056289fc6f884a2a8799dacca64a16248a5c2.tar.gz
Simplify T.P.Asciify and export toAsciiText [API change].
Instead of encoding a giant (and incomplete) map, we now just use unicode-transforms to normalize the text to a canonical decomposition, and manipulate the result. The new `toAsciiText` is equivalent to the old `T.pack . mapMaybe toAsciiChar . T.unpack` but should be faster.
Diffstat (limited to 'src/Text/Pandoc/ImageSize.hs')
0 files changed, 0 insertions, 0 deletions