mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-25 09:47:06 +00:00
Revert "Experimental change to charWidth in Pretty."
This reverts commit c59e317224.
This commit is contained in:
@@ -511,7 +511,6 @@ doubleQuotes = inside (char '"') (char '"')
|
||||
-- | Returns width of a character in a monospace font: 0 for a combining
|
||||
-- character, 1 for a regular character, 2 for an East Asian wide character.
|
||||
charWidth :: Char -> Int
|
||||
charWidth '\r' = 0
|
||||
charWidth c =
|
||||
case c of
|
||||
_ | c < '\x0300' -> 1
|
||||
|
||||
Reference in New Issue
Block a user