ec88d47f23
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. |
||
---|---|---|
.. | ||
AsciiDoc.hs | ||
ConTeXt.hs | ||
Docbook.hs | ||
HTML.hs | ||
LaTeX.hs | ||
Markdown.hs | ||
Native.hs | ||
Plain.hs |