[Tickets #5882] last line duplicated when reST document ends with a paragraph
bugs at bugs.horde.org
bugs at bugs.horde.org
Mon Nov 12 12:16:40 UTC 2007
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/?id=5882
-----------------------------------------------------------------------
Ticket | 5882
Created By | lsmith at php.net
Summary | last line duplicated when reST document ends with a paragraph
Queue | Horde Framework Packages
Version | HEAD
Type | Bug
State | Unconfirmed
Priority | 2. Medium
Owners |
-----------------------------------------------------------------------
lsmith at php.net (2007-11-12 04:16) wrote:
Using latest CVS
require_once 'Text/reST.php';
require_once 'Text/reST/Formatter.php';
$string = "Will parse and render the following URL as html::
abc 123";
$document = Text_reST::parse($string);
$formatter = Text_reST_Formatter::factory('html');
echo $formatter->format($document);
I get the following output:
<p>Will parse and render the following URL as html:</p><pre>abc
123</pre><p>abc 123</p>
More information about the bugs
mailing list