diff options
author | Waylan Limberg <waylan@gmail.com> | 2013-10-14 15:31:49 -0700 |
---|---|---|
committer | Waylan Limberg <waylan@gmail.com> | 2013-10-14 15:31:49 -0700 |
commit | d700d0a243b3e461f2e9ff189137be31c15972f4 (patch) | |
tree | c9b329436683582b18e219b5061f9a84ec7f718d /tests/extensions/extra/raw-html.html | |
parent | 191d88b26c6bcb1cd9f66cb3a115e106366d1a55 (diff) | |
parent | daa2d46b567e67aa4578a5c26a7d92e4cf5abc81 (diff) | |
download | markdown-d700d0a243b3e461f2e9ff189137be31c15972f4.tar.gz markdown-d700d0a243b3e461f2e9ff189137be31c15972f4.tar.bz2 markdown-d700d0a243b3e461f2e9ff189137be31c15972f4.zip |
Merge pull request #260 from ryneeverett/master
Issue #52 Patch -- Markdown Inside HTML Blocks
Diffstat (limited to 'tests/extensions/extra/raw-html.html')
-rw-r--r-- | tests/extensions/extra/raw-html.html | 29 |
1 files changed, 23 insertions, 6 deletions
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 @@ <div> - <p><em>foo</em></p> </div> - <div class="baz"> - <p><em>bar</em></p> </div> - <div> - <p><em>blah</em></p> -</div>
\ No newline at end of file +</div> +<div name="Example"> +<p>The text of the <code>Example</code> element.</p> +<div name="DefaultBlockMode"> +<p>This text gets wrapped in <code>p</code> tags.</p> +</div> +<p>The tail of the <code>DefaultBlockMode</code> subelement.</p> +<p name="DefaultSpanMode"> +This text <em>is not</em> wrapped in additional <code>p</code> tags.</p> +<p>The tail of the <code>DefaultSpanMode</code> subelement.</p> +<div name="SpanModeOverride"> +This <code>div</code> block is not wrapped in paragraph tags. +Note: Subelements are not required to have tail text.</div> +<p name="BlockModeOverride"> +<p>This <code>p</code> block <em>is</em> foolishly wrapped in further paragraph tags.</p> +</p> +<p>The tail of the <code>BlockModeOverride</code> subelement.</p> +<div name="RawHtml"> +Raw html blocks may also be nested. +</div> + +</div> +<p>This text is after the markdown in html.</p>
\ No newline at end of file |