diff options
author | Waylan Limberg <waylan@gmail.com> | 2008-08-22 23:38:39 -0400 |
---|---|---|
committer | Waylan Limberg <waylan@gmail.com> | 2008-08-22 23:38:39 -0400 |
commit | fa014ac7743836db611713ca630a4919e8d5fa3d (patch) | |
tree | 5a08a0fdb39697369705a1e3b918468c08810b95 /tests/markdown-test/tabs.html | |
parent | e12a10d1754a13cd3a7f5b341d26ea17035105d8 (diff) | |
download | markdown-fa014ac7743836db611713ca630a4919e8d5fa3d.tar.gz markdown-fa014ac7743836db611713ca630a4919e8d5fa3d.tar.bz2 markdown-fa014ac7743836db611713ca630a4919e8d5fa3d.zip |
Fixed Ticket 11. Disabled ``indenteTree`` for `pre` and `code` tags. Now
whitespace is preserved in codeblocks.
As a side-benefit, this also solved the issue with the safe-mode tests failing.
All tests incorectly altered at ElementTree conversion have been corrected for
this bug. Any remaining tests that fail are unrelated to this.
Diffstat (limited to 'tests/markdown-test/tabs.html')
-rw-r--r-- | tests/markdown-test/tabs.html | 30 |
1 files changed, 12 insertions, 18 deletions
diff --git a/tests/markdown-test/tabs.html b/tests/markdown-test/tabs.html index f90fb95..f302d5f 100644 --- a/tests/markdown-test/tabs.html +++ b/tests/markdown-test/tabs.html @@ -1,29 +1,23 @@ <ul> -<li> -<p>this is a list item + <li> + <p>this is a list item indented with tabs</p> -</li> -<li> -<p>this is a list item + </li> + <li> + <p>this is a list item indented with spaces</p> -</li> + </li> </ul> <p>Code:</p> -<pre> -<code>this code block is indented by one tab -</code> -</pre> +<pre><code>this code block is indented by one tab +</code></pre> <p>And:</p> -<pre> -<code> this code block is indented by two tabs -</code> -</pre> +<pre><code> this code block is indented by two tabs +</code></pre> <p>And:</p> -<pre> -<code>+ this is an example list item +<pre><code>+ this is an example list item indented with tabs + this is an example list item indented with spaces -</code> -</pre> +</code></pre>
\ No newline at end of file |