Home » Text » Text_Wiki » Bug #1476
Problem with blockquote rendering
Details
| Submitted | 2004-05-23 15:02 UTC |
|---|---|
| From | moritz dot heidkamp at invision-team dot de |
| Assigned | pmjones |
| Status | Closed |
| Package | Text_Wiki |
| PHP Version | 4.3.3 |
| OS | FreeBSD |
| Roadmaps | (Not assigned) |
Comments
[2004-05-23 15:02 UTC] moritz dot heidkamp at invision-team dot de
Description:
------------
When rendering blockquotes (XHTML), there is a nesting problem when there is a paragraph directly preceding. The behaviour is correct since a paragraph is only created after two newlines but in this case I don't think the result is expected :) Okay, and additionally it's not quite XHTML compliant :)
Reproduce code:
---------------
this is a text
> and this is a blockquote
this is another text
> and this is another blockquote
Expected result:
----------------
<p>this is a text</p>
<blockquote><p>and this is a blockquote</p></blockquote>
<p>this is another text</p>
<blockquote><p>and this is another blockquote</p></blockquote>
Actual result:
--------------
<p>this is a text<br /><blockquote></p>
<p>and this is a blockquote</p></blockquote>
<p>this is another text</p>
<blockquote><p>and this is another blockquote</p></blockquote>