From: <var...@us...> - 2014-11-08 15:34:15
|
Revision: 9285 http://sourceforge.net/p/phpwiki/code/9285 Author: vargenau Date: 2014-11-08 15:34:07 +0000 (Sat, 08 Nov 2014) Log Message: ----------- Type compatibility Modified Paths: -------------- trunk/lib/BlockParser.php Modified: trunk/lib/BlockParser.php =================================================================== --- trunk/lib/BlockParser.php 2014-11-05 16:37:16 UTC (rev 9284) +++ trunk/lib/BlockParser.php 2014-11-08 15:34:07 UTC (rev 9285) @@ -359,7 +359,7 @@ class ParsedBlock extends Block_HtmlElement { - function ParsedBlock(&$input, $tag = 'div', $attr = false) + function ParsedBlock(&$input, $tag = 'div', $attr = array()) { $this->Block_HtmlElement($tag, $attr); $this->_initBlockTypes(); @@ -467,7 +467,7 @@ class SubBlock extends ParsedBlock { function SubBlock(&$input, $indent_re, $initial_indent = false, - $tag = 'div', $attr = false) + $tag = 'div', $attr = array()) { $subinput = new BlockParser_InputSubBlock($input, $indent_re, $initial_indent); $this->ParsedBlock($subinput, $tag, $attr); @@ -487,7 +487,7 @@ class TightSubBlock extends SubBlock { function __construct(&$input, $indent_re, $initial_indent = false, - $tag = 'div', $attr = false) + $tag = 'div', $attr = array()) { $this->SubBlock($input, $indent_re, $initial_indent, $tag, $attr); @@ -1224,8 +1224,7 @@ { //$indent = str_replace(' ', '\\ ', $m->match) . '|>$'; $indent = $this->_re; - $this->_element = new SubBlock($input, $indent, $m->match, - 'blockquote', $this->_attr); + $this->_element = new SubBlock($input, $indent, $m->match, 'blockquote', $this->_attr); return true; } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |