fix text highlighter for PHP version 7.1

This commit is contained in:
Mario Vavti 2017-01-21 21:04:36 +01:00
parent bb233a9872
commit 88caa14030

View File

@ -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:
*/
?>
?>