diff options
author | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2008-09-06 02:51:44 +0000 |
---|---|---|
committer | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2008-09-06 02:51:44 +0000 |
commit | 2127b7d5135af88dc3f2e7d78136ce24547bca3b (patch) | |
tree | 2f2153999cc1bb5ad70bacbb7cffd7bb18ac3b4e /Text/Pandoc/Writers/MediaWiki.hs | |
parent | 4dca8f6e75948d489e8127119ce3787cb97ee1e2 (diff) | |
download | pandoc-2127b7d5135af88dc3f2e7d78136ce24547bca3b.tar.gz |
Changed Float to Double in definition of Table element.
(Double is more efficient in GHC.)
Truncate width in opendocument output to 2 decimal places.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1418 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'Text/Pandoc/Writers/MediaWiki.hs')
-rw-r--r-- | Text/Pandoc/Writers/MediaWiki.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Text/Pandoc/Writers/MediaWiki.hs b/Text/Pandoc/Writers/MediaWiki.hs index 7d43c6fc4..050781d37 100644 --- a/Text/Pandoc/Writers/MediaWiki.hs +++ b/Text/Pandoc/Writers/MediaWiki.hs @@ -259,7 +259,7 @@ vcat (x:xs) = x ++ "\n" ++ vcat xs colHeadsToMediaWiki :: WriterOptions -> [[Char]] - -> [Float] + -> [Double] -> [[Block]] -> State WriterState String colHeadsToMediaWiki opts alignStrings widths headers = do @@ -286,7 +286,7 @@ tableRowToMediaWiki opts aligns columns = tableItemToMediaWiki :: WriterOptions -> [Char] -> [Char] - -> Float + -> Double -> [Block] -> State WriterState String tableItemToMediaWiki opts tag' align' width' item = do |