cvs: phd /include PhDReader.class.php

From: Date: Thu, 30 Oct 2008 17:53:51 +0000
Subject: cvs: phd /include PhDReader.class.php
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-2344@lists.php.net to get a copy of this message
cweiske Thu Oct 30 17:53:51 2008 UTC Modified files: /phd/include PhDReader.class.php Log: Restore the old dsssl behavior and don't put the first section of a chapter/chunking element on the same page, as discussed on the mailing list [1]. This also fixes bug #46415: Don't chunk first section on parent site when it has children. [2] [1] http://markmail.org/message/mvzh3xtobn3xy6tz [2] http://bugs.php.net/?id=46415 http://cvs.php.net/viewvc.cgi/phd/include/PhDReader.class.php?r1=1.20&r2=1.21&diff_format=u Index: phd/include/PhDReader.class.php diff -u phd/include/PhDReader.class.php:1.20 phd/include/PhDReader.class.php:1.21 --- phd/include/PhDReader.class.php:1.20 Thu Oct 30 05:16:45 2008 +++ phd/include/PhDReader.class.php Thu Oct 30 17:53:51 2008 @@ -1,5 +1,5 @@ <?php -/* $Id: PhDReader.class.php,v 1.20 2008/10/30 05:16:45 cweiske Exp $ */ +/* $Id: PhDReader.class.php,v 1.21 2008/10/30 17:53:51 cweiske Exp $ */ //6271 class PhDReader extends XMLReader { @@ -235,7 +235,7 @@ return false; } /* }}} */ public function isSectionChunk($tag) { /* {{{ */ - if ($this->PREVIOUS_SIBLING == $tag && $this->checkSectionDepth()) { + if ($this->checkSectionDepth()) { return true; } return false;

« previous php.doc.cvs (#2344) next »