aboutsummaryrefslogtreecommitdiff
path: root/src/Text
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2016-12-08 11:06:50 +0100
committerJohn MacFarlane <jgm@berkeley.edu>2016-12-08 11:06:50 +0100
commit6708c6a7fcdb531fbb1848c3e4dd3e9a1a1609d1 (patch)
tree38ad4c5f358795a3e251fb3b47c16e0d112397d1 /src/Text
parentafa675b71ecffc3285031065c0eaa57fd90d9802 (diff)
downloadpandoc-6708c6a7fcdb531fbb1848c3e4dd3e9a1a1609d1.tar.gz
Removed debug trace from HTML reader.
Diffstat (limited to 'src/Text')
-rw-r--r--src/Text/Pandoc/Readers/HTML.hs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Text/Pandoc/Readers/HTML.hs b/src/Text/Pandoc/Readers/HTML.hs
index db3295e59..abe5f66ce 100644
--- a/src/Text/Pandoc/Readers/HTML.hs
+++ b/src/Text/Pandoc/Readers/HTML.hs
@@ -69,7 +69,6 @@ import Text.Pandoc.CSS (foldOrElse, pickStyleAttrProps)
import Data.Monoid ((<>))
import Text.Parsec.Error
import qualified Data.Set as Set
-import Debug.Trace (traceShowId)
-- | Convert HTML-formatted string to 'Pandoc' document.
readHtml :: ReaderOptions -- ^ Reader options
@@ -450,7 +449,7 @@ pTable = try $ do
| otherwise -> r
let rows = map addEmpties rows''
let aligns = replicate cols AlignDefault
- let widths = if null (traceShowId widths')
+ let widths = if null widths'
then if isSimple
then replicate cols 0
else replicate cols (1.0 / fromIntegral cols)