Re: Re: [patch] livedocs : Allowing entities in titles
| From: | Mehdi Achour | Date: | Sun, 23 May 2004 09:10:37 +0000 |
| Subject: | Re: Re: [patch] livedocs : Allowing entities in titles | ||
| References: | 1 2 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969360817@lists.php.net to get a copy of this message | ||
See : features.commandline in french. The document should be titled
"Utiliser PHP en ligne de commande" instead of "PHP"..
Wez Furlong wrote:
Can you give an example of a page that does this? I'd like to try it out. --Wez.-----Original Message----- From: Mehdi Achour [mailto:didou@keliglia.com] Sent: 23 May 2004 09:34 To: Wez Furlong Cc: phpdoc@lists.php.net Subject: Re: [PHP-DOC] Re: [patch] livedocs : Allowing entities in titles Wez Furlong wrote:Can you give a less abstract example of what this does in practice? Eg: "a b c" doesn't have much meaning in docbook ;)I must be tired :) My problem was this title : <title>A string with &php; inside</title> &php; defined as <literal>PHP</literal>. a = title b = literal in CVS, it's grabbed as : PHP with the first patch, it's : A string with PHP and with the third it's A string with PHP inside In the patch, I keep the delimiter tag's name in memory ($this->tag_name) that is the first opening tag after the tag with the attribute id and I concatanate all cdatas until I find the delimiter once again. There's maybe a problem with a structure like this (here a b c is meaningful ;) : <a>text<a>text</a>text</a>, but I doubt we'll face this case (we can't have nested <title>s). Why do you think about it ?