No HTML in exceptions
[core.git] / inc / classes / exceptions / io / class_PathIsNoDirectoryException.php
index 4cb0df89cf9a3757a7e142d7fdd80455e40c096e..1ddfe8be21042281f88fae987111b1664cac220a 100644 (file)
@@ -31,7 +31,7 @@ class PathIsNoDirectoryException extends FrameworkException {
         */
        public function __construct ($path, $code) {
                // Add a message around the missing class
-               $message = sprintf("Der angegebene Pfad <span class=\"exception_reason\">%s</span> ist ung&uuml;tig (kein Pfad).", $path);
+               $message = sprintf("Der angegebene Pfad %s ist ung&uuml;tig (kein Pfad).", $path);
 
                // Call parent constructor
                parent::__construct($message, $code);