Commit b5ad6ddf authored by Elias Villiger's avatar Elias Villiger
Browse files

Bug #5382 - Double quotes in tooltips are now escaped with "

parent 2393562a
......@@ -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)) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment