aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorClare Macrae <github@cfmacrae.fastmail.co.uk>2014-06-29 21:15:17 +0100
committerClare Macrae <github@cfmacrae.fastmail.co.uk>2014-06-29 21:15:17 +0100
commitfdbf52b1cca7d923924ef5d970d946ba6369d6c5 (patch)
tree212032e0b6e5bd5795f1f2b3fe35bd4fd6f0e285 /tests
parent717e16660d1ee83f690b35d0aa9b60c8ac9d6b61 (diff)
downloadpandoc-fdbf52b1cca7d923924ef5d970d946ba6369d6c5.tar.gz
Updated DokuWiki code and tests to work with latest code from jgm.
The new code was got from inspecting changes in MediaWiki.hs This slightly changes the output of Div blocks, but I'm not convinced the original behaviour was really correct anyway. The code for handling Span does nothing for now, until I can work out the desired behaviour, and add tests for it.
Diffstat (limited to 'tests')
-rw-r--r--tests/writer.dokuwiki12
1 files changed, 3 insertions, 9 deletions
diff --git a/tests/writer.dokuwiki b/tests/writer.dokuwiki
index 132c2d614..b60e57f07 100644
--- a/tests/writer.dokuwiki
+++ b/tests/writer.dokuwiki
@@ -277,7 +277,6 @@ Simple block on one line:
<div>
foo
</div>
-
And nested without indentation:
<div>
@@ -290,7 +289,6 @@ foo
bar
</div>
</div>
-
Interpreted markdown in a table:
<table>
@@ -309,10 +307,8 @@ And this is **strong**
Here’s a simple block:
<div>
-
foo
</div>
-
This should be a code block, though:
<code><div>
@@ -324,14 +320,12 @@ As should this:
Now, nested:
<div>
- <div>
- <div>
-
+<div>
+<div>
foo
</div>
- </div>
</div>
-
+</div>
This should just be an HTML comment:
<!-- Comment -->