diff --git a/extension/qfq/qfq/helper/Support.php b/extension/qfq/qfq/helper/Support.php index 7e6c560a2696e4691573e486c36c4160cc94ec75..c936930ef9f156d6bedb2b6be79175dbc0cb84a2 100644 --- a/extension/qfq/qfq/helper/Support.php +++ b/extension/qfq/qfq/helper/Support.php @@ -153,10 +153,10 @@ class Support { * @param bool $flagOmitEmpty * @param string $modeEscape * - * @return string correctly fomratted attribute. Space at the end. + * @return string correctly formatted attribute. Space at the end. * @throws CodeException */ - public static function doAttribute($type, $value, $flagOmitEmpty = true, $modeEscape = ESCAPE_WITH_BACKSLASH) { + public static function doAttribute($type, $value, $flagOmitEmpty = true, $modeEscape = ESCAPE_WITH_HTML_QUOTE) { // several attributes might be given as an array - concat to a string if (is_array($value)) {