aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc
diff options
context:
space:
mode:
authorAlexander Krotov <ilabdsf@gmail.com>2018-03-01 14:33:18 +0300
committerAlexander Krotov <ilabdsf@gmail.com>2018-03-02 00:35:48 +0300
commite881214bf9a3cc990110ae3a23aec1d6b4076f66 (patch)
treeee205e10acf75c7d81da29e782bcfcb9f0c76e3e /src/Text/Pandoc
parent55c4b9982c785e043b0ed9b8dd2219bdbdf61087 (diff)
downloadpandoc-e881214bf9a3cc990110ae3a23aec1d6b4076f66.tar.gz
Org writer: fix a typo s/prettyfy/prettify/
Diffstat (limited to 'src/Text/Pandoc')
-rw-r--r--src/Text/Pandoc/Writers/Org.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Text/Pandoc/Writers/Org.hs b/src/Text/Pandoc/Writers/Org.hs
index 72def8e48..2307204a5 100644
--- a/src/Text/Pandoc/Writers/Org.hs
+++ b/src/Text/Pandoc/Writers/Org.hs
@@ -166,8 +166,8 @@ blockToOrg (LineBlock lns) = do
(l, _:r) -> l : splitStanza r
let joinWithLinefeeds = nowrap . mconcat . intersperse cr
let joinWithBlankLines = mconcat . intersperse blankline
- let prettyfyStanza ls = joinWithLinefeeds <$> mapM inlineListToOrg ls
- contents <- joinWithBlankLines <$> mapM prettyfyStanza (splitStanza lns)
+ let prettifyStanza ls = joinWithLinefeeds <$> mapM inlineListToOrg ls
+ contents <- joinWithBlankLines <$> mapM prettifyStanza (splitStanza lns)
return $ blankline $$ "#+BEGIN_VERSE" $$
nest 2 contents $$ "#+END_VERSE" <> blankline
blockToOrg (RawBlock "html" str) =