RE: [PHP-DOC] Re: [patch] livedocs : Allowing entities in titles
| From: | Wez Furlong | Date: | Sun, 23 May 2004 08:16:57 +0000 |
| Subject: | RE: [PHP-DOC] Re: [patch] livedocs : Allowing entities in titles | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969360813@lists.php.net to get a copy of this message | ||
Can you give a less abstract example of what this does in practice?
Eg: "a b c" doesn't have much meaning in docbook ;)
--Wez.
> -----Original Message-----
> From: Mehdi Achour [mailto:didou@keliglia.com]
> Sent: 23 May 2004 08:52
> To: Mehdi Achour
> Cc: phpdoc@lists.php.net
> Subject: [PHP-DOC] Re: [patch] livedocs : Allowing entities in titles
>
> Here's a better patch that solves this issue properly.
>
> example with this string :
> <a>b<b>a</b>r</a>
>
> before the first patch, the parser was doing this :
> * start when an opening tag with an id attribute is matched
> * seeks to the next closing tag, overwriting any previous
> grabbed data if there is another opening tag before any
> closing tag is found
> * stops with the first closing tag
>
> the result was :
> a
>
> with the first patch I corrected the overwriting problem, but didn't
> notice the problem with the non-matching closing tag, the result was :
> a b
>
> now it's a b c