From 4bcb824e9bb537de5cafd325e31cee853c090cbc Mon Sep 17 00:00:00 2001 From: Ryan Cramer Date: Fri, 27 Dec 2019 13:35:00 -0500 Subject: [PATCH] Fix issue processwire/processwire-issues#1057 --- wire/core/Notices.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wire/core/Notices.php b/wire/core/Notices.php index 43a17ed4..5bcbbc0b 100644 --- a/wire/core/Notices.php +++ b/wire/core/Notices.php @@ -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)";