[Tickets #5883] lists do not seem to be supported

bugs at bugs.horde.org bugs at bugs.horde.org
Mon Nov 12 12:19:23 UTC 2007


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=5883
-----------------------------------------------------------------------
 Ticket             | 5883
 Created By         | lsmith at php.net
 Summary            | lists do not seem to be supported
 Queue              | Horde Framework Packages
 Version            | HEAD
 Type               | Enhancement
 State              | New
 Priority           | 3. High
 Owners             | 
-----------------------------------------------------------------------


lsmith at php.net (2007-11-12 04:19) wrote:

require_once 'Text/reST.php';
require_once 'Text/reST/Formatter.php';

$string = "Here is a list

- foo
- bar

1. another list
1. still not working

1. this works

1. or does it?
";

$document = Text_reST::parse($string);

$formatter = Text_reST_Formatter::factory('html');
echo $formatter->format($document);




More information about the bugs mailing list