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/misc/some-test.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/misc/some-test.html')
-rw-r--r-- | tests/misc/some-test.html | 84 |
1 files changed, 41 insertions, 43 deletions
diff --git a/tests/misc/some-test.html b/tests/misc/some-test.html index 54a3e23..e43cb94 100644 --- a/tests/misc/some-test.html +++ b/tests/misc/some-test.html @@ -1,72 +1,70 @@ <hr /> <ul> -<li> -<p>as if</p> -</li> -<li> -<p>as if2</p> -</li> + <li> + <p>as if</p> + </li> + <li> + <p>as if2</p> + </li> </ul> <hr /> <ul> -<li> -<p>as if</p> -</li> -<li> -<p>as if2</p> -</li> + <li> + <p>as if</p> + </li> + <li> + <p>as if2</p> + </li> </ul> <hr /> <ul> -<li>as if + <li>as if non_code</li> -<li>as if2</li> + <li>as if2</li> </ul> <p>Markdown</p> <ul> -<li> -<p>Python + <li> + <p>Python is ok</p> -<ul> -<li>Therefore i am</li> -</ul> -</li> -<li> -<p>Perl sucks + <ul> + <li>Therefore i am</li> + </ul> + </li> + <li> + <p>Perl sucks big time</p> -<ul> -<li>But that's + <ul> + <li>But that's ok</li> -</ul> -</li> -<li> -<p>Python is + </ul> + </li> + <li> + <p>Python is ok Or not?</p> -</li> + </li> </ul> <p>Here is a normal paragraph</p> <ol> -<li> -<p>Another list + <li> + <p>Another list with a bunch of items</p> -</li> -<li> -<p>Mostly fruits</p> -<ol> -<li>Apple</li> -<li>Pare</li> -</ol> -</li> + </li> + <li> + <p>Mostly fruits</p> + <ol> + <li>Apple</li> + <li>Pare</li> + </ol> + </li> </ol> <p>asdfasdfasd</p> -<pre> -<code># This is a code example +<pre><code># This is a code example import stuff Another code example * Lists and similar stuff > Should be ignored -</code> -</pre> +</code></pre>
\ No newline at end of file |