summaryrefslogtreecommitdiff
path: root/tests/writer.textile
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2013-08-18 14:36:40 -0700
committerJohn MacFarlane <fiddlosopher@gmail.com>2013-08-18 14:36:40 -0700
commit8d441af3da4709fd48a44e860d5a0cd4d35792af (patch)
tree2592fa03c4923df4723ac487c89bbe1cb0558607 /tests/writer.textile
parent3117c668a7d245689bfc291d5d9a64cb3178b52c (diff)
Adjusted writers and tests for change in parsing of div/span.
Textile, MediaWiki, Markdown, Org, RST will emit raw HTML div tags for divs. Otherwise Div and Span are "transparent" block containers.
Diffstat (limited to 'tests/writer.textile')
-rw-r--r--tests/writer.textile31
1 files changed, 26 insertions, 5 deletions
diff --git a/tests/writer.textile b/tests/writer.textile
index 31789a2b0..5042f79cb 100644
--- a/tests/writer.textile
+++ b/tests/writer.textile
@@ -352,20 +352,33 @@ h1(#html-blocks). HTML Blocks
Simple block on one line:
<div>
+
foo
+
</div>
And nested without indentation:
<div>
+
<div>
+
<div>
+
foo
+
</div>
+
+
</div>
+
<div>
+
bar
+
</div>
+
+
</div>
Interpreted markdown in a table:
@@ -386,8 +399,9 @@ And this is *strong*
Here's a simple block:
<div>
-
+
foo
+
</div>
This should be a code block, though:
@@ -405,12 +419,19 @@ bc. <div>foo</div>
Now, nested:
<div>
- <div>
- <div>
-
+
+<div>
+
+<div>
+
foo
+
+</div>
+
+
</div>
- </div>
+
+
</div>
This should just be an HTML comment: