mirror of
https://github.com/processwire/processwire.git
synced 2025-08-12 01:34:31 +02:00
Fix issue processwire/processwire-issues#1057
This commit is contained in:
@@ -288,7 +288,7 @@ class Notices extends WireArray {
|
||||
protected function addLog($item) {
|
||||
/** @var Notice $item */
|
||||
$text = $item->text;
|
||||
if($item->flags & Notice::allowMarkup && strpos($text, '&') !== false) {
|
||||
if(strpos($text, '&') !== false) {
|
||||
$text = $this->wire('sanitizer')->unentities($text);
|
||||
}
|
||||
if($this->wire('config')->debug && $item->class) $text .= " ($item->class)";
|
||||
|
Reference in New Issue
Block a user