vrana Wed Apr 27 13:07:06 2005 EDT
Modified files: /phpdoc/chm make_chm.php Log: Allow tags in titles (bug #28379) http://cvs.php.net/diff.php/phpdoc/chm/make_chm.php?r1=1.22&r2=1.23&ty=u Index: phpdoc/chm/make_chm.php diff -u phpdoc/chm/make_chm.php:1.22 phpdoc/chm/make_chm.php:1.23 --- phpdoc/chm/make_chm.php:1.22 Sun Aug 24 15:07:12 2003 +++ phpdoc/chm/make_chm.php Wed Apr 27 13:07:06 2005 @@ -209,7 +209,7 @@ $contents = oneLiner("$HTML_PATH/$filename"); // Find all sublinks - if (preg_match_all("!<DT\\s*><A\\s+HREF=\"(([\\w\\.-]+\\.)+html)(\\#[\\w\\.-]+)?\"\\s*>([^<]*)</A\\s*>!U", $contents, $matches, PREG_SET_ORDER)) { + if (preg_match_all("!<DT\\s*><A\\s+HREF=\"(([\\w\\.-]+\\.)+html)(\\#[\\w\\.-]+)?\"\\s*>(.*)</A\\s*>!U", $contents, $matches, PREG_SET_ORDER)) { // Print out the file informations for all the links fputs_wrapper($toc, "\n <ul>");