No HTML in exceptions
[core.git] / inc / classes / exceptions / main / class_ClassMismatchException.php
index 4a9e6bd0ea87dcec4067f620e117aa06a2fe89d4..7d6e9c6b8fa6fcdd5972c7c4b48977e097bbdd34 100644 (file)
@@ -31,7 +31,7 @@ class ClassMismatchException extends FrameworkException {
         */
        public function __construct (array $classArray, $code) {
                // Add a message around the missing class
-               $message = sprintf("The class <span class=\"exception_reason\">%s</span> does not match class <span class=\"exception_reason\">%s</span>.",
+               $message = sprintf("The class %s does not match class %s.",
                        $classArray[0],
                        $classArray[1]
                );