cvs: phd /include PhDReader.class.php
| From: | Hannes Magnusson | Date: | Sun, 28 Dec 2008 18:18:53 +0000 |
| Subject: | cvs: phd /include PhDReader.class.php | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-2863@lists.php.net to get a copy of this message | ||
bjori Sun Dec 28 18:18:53 2008 UTC
Modified files:
/phd/include PhDReader.class.php
Log:
MFB: prefaces should not be able to have childrens
http://cvs.php.net/viewvc.cgi/phd/include/PhDReader.class.php?r1=1.22&r2=1.23&diff_format=u
Index: phd/include/PhDReader.class.php
diff -u phd/include/PhDReader.class.php:1.22 phd/include/PhDReader.class.php:1.23
--- phd/include/PhDReader.class.php:1.22 Sat Nov 8 08:40:57 2008
+++ phd/include/PhDReader.class.php Sun Dec 28 18:18:53 2008
@@ -1,5 +1,5 @@
<?php
-/* $Id: PhDReader.class.php,v 1.22 2008/11/08 08:40:57 cweiske Exp $ */
+/* $Id: PhDReader.class.php,v 1.23 2008/12/28 18:18:53 bjori Exp $ */
//6271
class PhDReader extends XMLReader {
@@ -244,7 +244,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",
);