diff options
| author | Waylan Limberg <waylan@gmail.com> | 2008-08-22 17:37:37 -0400 |
|---|---|---|
| committer | Waylan Limberg <waylan@gmail.com> | 2008-08-22 17:37:37 -0400 |
| commit | a5cc42b5e441af8f34a122624d136cfcb772c65e (patch) | |
| tree | abbced77929e33dccdfce878354d9ba379c24bb1 /tests/misc/span.html | |
| parent | 0efd44b8e22a43a9df167a2c88aa92d3723dabae (diff) | |
| download | python-markdown-a5cc42b5e441af8f34a122624d136cfcb772c65e.tar.gz | |
Fixed Ticket 13. Raw block-level html are no longer being inserted into <p> tags.
Also edited numerious tests that were expecting wrong output - they now expect
correct output. Note that a few **still fail** because the output before moving
to ELementTree wasn't correct either. So I set the expected output to what I
think it should be so we don't forget about it later.
I should also note that the 'safe-mode' tests are failing. However, I believe
the current expected output is correct as it is valid html. Interestingly,
these tests passed prior to this fix. We'll need to special case safe-mode here.
Diffstat (limited to 'tests/misc/span.html')
| -rw-r--r-- | tests/misc/span.html | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/misc/span.html b/tests/misc/span.html index dadf5df..bafcf0f 100644 --- a/tests/misc/span.html +++ b/tests/misc/span.html @@ -1,4 +1,6 @@ <p><span id="someId"> Foo <em>bar</em> Baz </span></p> -<p><div><b>*foo*</b></div></p> -<p><div id="someId"> Foo *bar* Baz </div></p> -<p><baza id="someId"> Foo <em>bar</em> Baz </baza></p> +<div><b>*foo*</b></div> + +<div id="someId"> Foo *bar* Baz </div> + +<p><baza id="someId"> Foo <em>bar</em> Baz </baza></p>
\ No newline at end of file |
