mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-25 09:47:06 +00:00
RTF reader: remove debugging trace left in by accident.
This commit is contained in:
@@ -40,7 +40,7 @@ import Safe (lastMay, initSafe, headDef)
|
||||
import Data.Encoding (decodeLazyByteStringExplicit)
|
||||
import Data.Encoding.CP932 (CP932)
|
||||
|
||||
import Debug.Trace
|
||||
-- import Debug.Trace
|
||||
|
||||
-- TODO:
|
||||
-- [ ] more complex table features
|
||||
@@ -959,7 +959,7 @@ processFontTable = snd . foldl' go (0, mempty)
|
||||
|
||||
ansiWords :: Maybe Int -> [Word8] -> [Char]
|
||||
ansiWords mbCodePage ws =
|
||||
case traceShowId mbCodePage of
|
||||
case mbCodePage of
|
||||
Just 932 -> case decodeLazyByteStringExplicit (undefined :: CP932)
|
||||
(BL.pack ws) of
|
||||
Left _ -> "\xFFFD"
|
||||
|
||||
Reference in New Issue
Block a user