summaryrefslogtreecommitdiff
path: root/tests/writer.markdown
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.markdown
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.markdown')
-rw-r--r--tests/writer.markdown27
1 files changed, 22 insertions, 5 deletions
diff --git a/tests/writer.markdown b/tests/writer.markdown
index 2201ac8d1..7d67e4e87 100644
--- a/tests/writer.markdown
+++ b/tests/writer.markdown
@@ -356,20 +356,31 @@ 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:
@@ -390,8 +401,9 @@ And this is **strong**
Here’s a simple block:
<div>
-
+
foo
+
</div>
This should be a code block, though:
@@ -407,12 +419,17 @@ As should this:
Now, nested:
<div>
- <div>
- <div>
-
+
+<div>
+
+<div>
+
foo
+
</div>
- </div>
+
+</div>
+
</div>
This should just be an HTML comment: