diff --git a/filter.php b/filter.php index f674d7892eed7fcc86de8dc1019dc9ca4b6571a6..a9329db24e4334f7b38bfcca0d1fa028503b849a 100644 --- a/filter.php +++ b/filter.php @@ -155,7 +155,9 @@ function filter($text, array $options = array()) global $CFG; global $PAGE; - + if(strpos($PAGE->url, '/mod/') || strpos($PAGE->url, '/question/')){ + return $text; + } if ($CFG->color_btn) { $this->color_btn = $CFG->color_btn; }