Skip to content

Commit

Permalink
Disabled HTML purifier.
Browse files Browse the repository at this point in the history
  • Loading branch information
mzabsky committed Jan 10, 2023
1 parent e474cd2 commit be74a77
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions vendor/HTMLPurifier/HTMLPurifier/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -885,7 +885,7 @@ protected function triggerError($msg, $no)
{
// determine previous stack frame
$extra = '';
if ($this->chatty) {
if (true || $this->chatty) {
$trace = debug_backtrace();
// zip(tail(trace), trace) -- but PHP is not Haskell har har
for ($i = 0, $c = count($trace); $i < $c - 1; $i++) {
Expand All @@ -898,7 +898,8 @@ protected function triggerError($msg, $no)
break;
}
}
trigger_error($msg . $extra, $no);
//die($msg . $extra)
//trigger_error($msg . $extra, $no);
}

/**
Expand Down

0 comments on commit be74a77

Please sign in to comment.