diff --git a/ext/log_db/main.php b/ext/log_db/main.php index 05736845..ee1bfb84 100644 --- a/ext/log_db/main.php +++ b/ext/log_db/main.php @@ -1,6 +1,6 @@ input_mod = function ($var) { + return "%$var%"; + }; } public function display($row) @@ -109,7 +112,7 @@ class MessageColumn extends Column { case SCORE_LOG_ERROR: $c = "#C00"; break; case SCORE_LOG_CRITICAL: $c = "#F00"; break; } - return SPAN(["style"=>"color: $c"], $this->scan_entities($row[$this->name])); + return SPAN(["style"=>"color: $c"], rawHTML($this->scan_entities($row[$this->name]))); } protected function scan_entities($line)