From daa2d46b567e67aa4578a5c26a7d92e4cf5abc81 Mon Sep 17 00:00:00 2001 From: ryneeverett Date: Thu, 3 Oct 2013 16:51:07 -0400 Subject: Issue #52 --- tests/extensions/extra/raw-html.html | 29 +++++++++++++++++++++++------ tests/extensions/extra/raw-html.txt | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 57 insertions(+), 6 deletions(-) (limited to 'tests/extensions/extra') diff --git a/tests/extensions/extra/raw-html.html b/tests/extensions/extra/raw-html.html index b2a7c4d..897ad24 100644 --- a/tests/extensions/extra/raw-html.html +++ b/tests/extensions/extra/raw-html.html @@ -1,14 +1,31 @@
-

foo

-
-

bar

-
-

blah

-
\ No newline at end of file + +
+

The text of the Example element.

+
+

This text gets wrapped in p tags.

+
+

The tail of the DefaultBlockMode subelement.

+

+This text is not wrapped in additional p tags.

+

The tail of the DefaultSpanMode subelement.

+
+This div block is not wrapped in paragraph tags. +Note: Subelements are not required to have tail text.
+

+

This p block is foolishly wrapped in further paragraph tags.

+

+

The tail of the BlockModeOverride subelement.

+
+Raw html blocks may also be nested. +
+ +
+

This text is after the markdown in html.

\ No newline at end of file diff --git a/tests/extensions/extra/raw-html.txt b/tests/extensions/extra/raw-html.txt index 284fe0c..e906910 100644 --- a/tests/extensions/extra/raw-html.txt +++ b/tests/extensions/extra/raw-html.txt @@ -9,4 +9,38 @@ _bar_ _blah_ + +
+The text of the `Example` element. + +
+This text gets wrapped in `p` tags. +
+ +The tail of the `DefaultBlockMode` subelement. + +

+This text *is not* wrapped in additional `p` tags. +

+ +The tail of the `DefaultSpanMode` subelement. + +
+This `div` block is not wrapped in paragraph tags. +Note: Subelements are not required to have tail text. +
+ +

+This `p` block *is* foolishly wrapped in further paragraph tags. +

+ +The tail of the `BlockModeOverride` subelement. + +
+Raw html blocks may also be nested. +
+ +
+ +This text is after the markdown in html. -- cgit v1.2.3