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:[EMAIL PROTECTED] 
> Sent: 23 May 2004 08:52
> To: Mehdi Achour
> Cc: [EMAIL PROTECTED]
> 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
 

Reply via email to