From 93e92a47169ee84e1a42c68f9b890314f8866de1 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sat, 29 Sep 2012 17:09:34 -0400 Subject: Renamed removedLeadingTrailingSpace to trim. Also removeLeadingSpace to triml, removeTrailingSpace to trimr. --- tests/Tests/Helpers.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/Tests/Helpers.hs b/tests/Tests/Helpers.hs index 86a92fb0c..5769a4985 100644 --- a/tests/Tests/Helpers.hs +++ b/tests/Tests/Helpers.hs @@ -17,7 +17,7 @@ import Test.Framework import Test.Framework.Providers.HUnit import Test.Framework.Providers.QuickCheck2 import Test.HUnit (assertBool) -import Text.Pandoc.Shared (normalize, removeTrailingSpace) +import Text.Pandoc.Shared (normalize, trimr) import Text.Pandoc.Options import Text.Pandoc.Writers.Native (writeNative) import Language.Haskell.TH.Quote (QuasiQuoter(..)) @@ -94,7 +94,7 @@ instance ToString Blocks where toString = writeNative def . toPandoc instance ToString Inlines where - toString = removeTrailingSpace . writeNative def . toPandoc + toString = trimr . writeNative def . toPandoc instance ToString String where toString = id -- cgit v1.2.3