aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/UUID.hs
diff options
context:
space:
mode:
authorArtyom Kazak <yom@artyom.me>2014-08-03 16:48:55 +0400
committerArtyom Kazak <yom@artyom.me>2014-08-03 17:37:37 +0400
commitec88d47f23d6761cf2120f76e45ca23cdc478e6c (patch)
tree97506dc41a66d0050b94d4a1c086c9e28d2a7927 /src/Text/Pandoc/UUID.hs
parent842c705097fbb3987145eae85da2261cb264e618 (diff)
downloadpandoc-ec88d47f23d6761cf2120f76e45ca23cdc478e6c.tar.gz
Correctly implement capitalisation.
Using `map toUpper` to capitalise text is wrong, as e.g. “Straße” should be converted to “STRASSE”, which is 1 character longer. This commit adds a `capitalize` function and replaces 2 identical implementations in different modules (`toCaps` and `capitalize`) with it.
Diffstat (limited to 'src/Text/Pandoc/UUID.hs')
0 files changed, 0 insertions, 0 deletions