fix text highlighter for PHP version 7.1
This commit is contained in:
parent
bb233a9872
commit
88caa14030
@ -143,7 +143,9 @@ class Text_Highlighter_Renderer_Array extends Text_Highlighter_Renderer
|
||||
function acceptToken($class, $content)
|
||||
{
|
||||
|
||||
|
||||
if(! is_array($this->_output)) {
|
||||
$this->_output = array();
|
||||
}
|
||||
$theClass = $this->_getFullClassName($class);
|
||||
if ($this->_htmlspecialchars) {
|
||||
$content = htmlspecialchars($content);
|
||||
@ -197,4 +199,4 @@ class Text_Highlighter_Renderer_Array extends Text_Highlighter_Renderer
|
||||
* End:
|
||||
*/
|
||||
|
||||
?>
|
||||
?>
|
||||
|
Reference in New Issue
Block a user