Re: changelogs and descriptions automatic?
| From: | Daniel Convissor | Date: | Mon, 05 Jan 2004 06:43:57 +0000 |
| Subject: | Re: changelogs and descriptions automatic? | ||
| References: | 1 2 3 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-24760@lists.php.net to get a copy of this message | ||
Hola:
On Mon, Jan 05, 2004 at 01:23:07AM -0500, Greg Beaver wrote:
>
> Daniel Convissor wrote:
> >On Sun, Jan 04, 2004 at 10:17:18PM -0500, Daniel Convissor wrote:
> >Even better, forget about nl2br() all together. Just put in </p><p>'s
> >where two \n's exist.
> >
> >If you really want to get fancy, do what PHPDocumentor does, turning lines
> >that start with *, +, and - into <li>'s all wrapped by <ul>. Yeah,
> >you're
> >saying "like we don't all have enough to do?" :)
>
> I highly recommend against this - it was just about the worst week of my
> life when I wrote that code, because of the complexity of parsing such a
> beast.
Ah, but the code is already written! :)
> I think nl2br() is a much better solution.
Damn ugly, though.
Thanks,
--Dan
--
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
data intensive web and database programming
http://www.AnalysisAndSolutions.com/
4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409