forked from extern/egroupware
update
This commit is contained in:
parent
fbd5f81c0e
commit
4ca7787f9f
@ -501,12 +501,12 @@
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(preg_match("(&|<)", $this->data)) // this is unnecessary with htmlspecialchars($this->data)
|
/*if(preg_match("(&|<)", $this->data)) // this is unnecessary with htmlspecialchars($this->data)
|
||||||
{
|
{
|
||||||
$result .= '<![CDATA['.$this->data.']]>';
|
$result .= '<![CDATA['.$this->data.']]>';
|
||||||
$endtag_indent = '';
|
$endtag_indent = '';
|
||||||
}
|
}
|
||||||
elseif(strlen($this->data) > 30)
|
else*/if(strlen($this->data) > 30 && !empty($this->indentstring))
|
||||||
{
|
{
|
||||||
$result .= "\n".$indentstring.$this->indentstring.htmlspecialchars($this->data)."\n";
|
$result .= "\n".$indentstring.$this->indentstring.htmlspecialchars($this->data)."\n";
|
||||||
$endtag_indent = $indentstring;
|
$endtag_indent = $indentstring;
|
||||||
|
Loading…
Reference in New Issue
Block a user