From 751aa15abcf945a40f4169a9e6a8640c36a801a5 Mon Sep 17 00:00:00 2001 From: fiddlosopher Date: Wed, 17 Dec 2008 15:34:25 +0000 Subject: Fixed problems in RST and markdown output due to bug in pretty-1.0.1.0 + Added hang' function to Text.Pandoc.Shared; this will be used instead of hang, which doesn't work properly in pretty-1.0.1.0. When pretty is upgraded, we can go back to hang. See http://article.gmane.org/gmane.comp.lang.haskell.general/16687 + Use hang' (and some different techniques) in RST and markdown writers. Some output is now a bit different. + Modify test suites accordingly. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1515 788f1e2b-df1e-0410-8736-df70ead52e1b --- tests/writer.markdown | 6 ++++-- tests/writer.rst | 14 ++++++++------ 2 files changed, 12 insertions(+), 8 deletions(-) (limited to 'tests') diff --git a/tests/writer.markdown b/tests/writer.markdown index 9c79bfb66..6bbfe257c 100644 --- a/tests/writer.markdown +++ b/tests/writer.markdown @@ -700,8 +700,10 @@ indented. [links](http://google.com) and `]` verbatim characters, as well as [bracketed text]. -[^4]: In quote. +[^4]: + In quote. -[^5]: In list. +[^5]: + In list. diff --git a/tests/writer.rst b/tests/writer.rst index 72877d7a7..408ca357c 100644 --- a/tests/writer.rst +++ b/tests/writer.rst @@ -621,7 +621,7 @@ LaTeX ===== -- +- - :math:`$2+2=4$` - :math:`$x \in y$` - :math:`$\alpha \wedge \omega$` @@ -819,11 +819,11 @@ note] Here is an inline note. [3]_ This paragraph should not be part of the note, as it is not indented. -.. [1] +.. [1] Here is the footnote. It can go anywhere after the footnote reference. It need not be placed at the end of the document. -.. [2] +.. [2] Here's the long note. This one contains multiple blocks. Subsequent blocks are indented to show that they belong to the @@ -836,14 +836,16 @@ indented. If you want, you can indent every line, but you can also be lazy and just indent the first line of each block. -.. [3] +.. [3] This is *easier* to type. Inline notes may contain `links `_ and ``]`` verbatim characters, as well as [bracketed text]. -.. [4] In quote. +.. [4] + In quote. -.. [5] In list. +.. [5] + In list. .. |lalune| image:: lalune.jpg -- cgit v1.2.3