cvs: phd(PHD_0_4) /include PhDReader.class.php
| From: | Hannes Magnusson | Date: | Sun, 28 Dec 2008 18:13:57 +0000 |
| Subject: | cvs: phd(PHD_0_4) /include PhDReader.class.php | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-2859@lists.php.net to get a copy of this message | ||
bjori Sun Dec 28 18:13:57 2008 UTC
Modified files: (Branch: PHD_0_4)
/phd/include PhDReader.class.php
Log:
Do not allow chunks in prefaces
http://cvs.php.net/viewvc.cgi/phd/include/PhDReader.class.php?r1=1.16.4.4&r2=1.16.4.5&diff_format=u
Index: phd/include/PhDReader.class.php
diff -u phd/include/PhDReader.class.php:1.16.4.4 phd/include/PhDReader.class.php:1.16.4.5
--- phd/include/PhDReader.class.php:1.16.4.4 Sat Nov 8 08:42:34 2008
+++ phd/include/PhDReader.class.php Sun Dec 28 18:13:57 2008
@@ -1,5 +1,5 @@
<?php
-/* $Id: PhDReader.class.php,v 1.16.4.4 2008/11/08 08:42:34 cweiske Exp $ */
+/* $Id: PhDReader.class.php,v 1.16.4.5 2008/12/28 18:13:57 bjori Exp $ */
//6271
class PhDReader extends XMLReader {
@@ -245,7 +245,7 @@
protected function checkSectionDepth() { /* {{{ */
static $allowedParents = array("section", "sect2", "sect3",
"sect4", "sect5");
static $chunkers = array(
- "sect1", "preface", "chapter", "appendix",
"article", "part", "reference", "refentry",
+ "sect1", "chapter", "appendix", "article",
"part", "reference", "refentry",
"index", "bibliography", "glossary",
"colopone", "book", "set", "setindex",
"legalnotice",
);