PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Text » Text_Wiki » Bug #1476

Problem with blockquote rendering

Details

Submitted2004-05-23 15:02 UTC
Frommoritz dot heidkamp at invision-team dot de
Assignedpmjones
StatusClosed
PackageText_Wiki
PHP Version4.3.3
OSFreeBSD
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>