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/inline-html-simple.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/inline-html-simple.html')
-rw-r--r-- | tests/markdown-test/inline-html-simple.html | 24 |
1 files changed, 8 insertions, 16 deletions
diff --git a/tests/markdown-test/inline-html-simple.html b/tests/markdown-test/inline-html-simple.html index df98803..cb10451 100644 --- a/tests/markdown-test/inline-html-simple.html +++ b/tests/markdown-test/inline-html-simple.html @@ -4,17 +4,13 @@ </div> <p>This should be a code block, though:</p> -<pre> - <code><div> +<pre><code><div> foo </div> -</code> -</pre> +</code></pre> <p>As should this:</p> -<pre> - <code><div>foo</div> -</code> -</pre> +<pre><code><div>foo</div> +</code></pre> <p>Now, nested:</p> <div> <div> @@ -34,18 +30,14 @@ Blah --> <p>Code block:</p> -<pre> - <code><!-- Comment --> -</code> -</pre> +<pre><code><!-- Comment --> +</code></pre> <p>Just plain comment, with trailing spaces on the line:</p> <!-- foo --> <p>Code:</p> -<pre> - <code><hr /> -</code> -</pre> +<pre><code><hr /> +</code></pre> <p>Hr's:</p> <hr> |