aboutsummaryrefslogtreecommitdiffstats
path: root/tests/markdown-test/inline-html-simple.html
diff options
context:
space:
mode:
authorYuri Takhteyev <yuri@freewisdom.org>2007-03-25 03:58:40 +0000
committerYuri Takhteyev <yuri@freewisdom.org>2007-03-25 03:58:40 +0000
commit0a1c1b5aeb62afa21bd676cfba6cf88821f1176f (patch)
treefed847ee9c4fe0f748f69eb70284dbeb9f3f30f5 /tests/markdown-test/inline-html-simple.html
parentdfe98ef458d5e05b13962307468904da8d09574c (diff)
downloadmarkdown-0a1c1b5aeb62afa21bd676cfba6cf88821f1176f.tar.gz
markdown-0a1c1b5aeb62afa21bd676cfba6cf88821f1176f.tar.bz2
markdown-0a1c1b5aeb62afa21bd676cfba6cf88821f1176f.zip
Added test cases
Diffstat (limited to 'tests/markdown-test/inline-html-simple.html')
-rw-r--r--tests/markdown-test/inline-html-simple.html68
1 files changed, 68 insertions, 0 deletions
diff --git a/tests/markdown-test/inline-html-simple.html b/tests/markdown-test/inline-html-simple.html
new file mode 100644
index 0000000..b5b3f12
--- /dev/null
+++ b/tests/markdown-test/inline-html-simple.html
@@ -0,0 +1,68 @@
+
+<p>Here's a simple block:
+</p>
+<div>
+ foo
+</div>
+
+<p>This should be a code block, though:
+</p>
+<pre><code>&lt;div&gt;
+ foo
+&lt;/div&gt;
+</code></pre><p>As should this:
+</p>
+<pre><code>&lt;div&gt;foo&lt;/div&gt;
+</code></pre><p>Now, nested:
+</p>
+<div>
+ <div>
+ <div>
+ foo
+ </div>
+ </div>
+</div>
+
+<p>This should just be an HTML comment:
+</p>
+<!-- Comment -->
+
+<p>Multiline:
+</p>
+<!--
+Blah
+Blah
+-->
+
+<p>Code block:
+</p>
+<pre><code>&lt;!-- Comment --&gt;
+</code></pre><p>Just plain comment, with trailing spaces on the line:
+</p>
+<!-- foo -->
+
+<p>Code:
+</p>
+<pre><code>&lt;hr /&gt;
+</code></pre><p>Hr's:
+</p>
+<hr>
+
+<hr/>
+
+<hr />
+
+<hr>
+
+<hr/>
+
+<hr />
+
+<hr class="foo" id="bar" />
+
+<hr class="foo" id="bar"/>
+
+<hr class="foo" id="bar" >
+
+
+