Skip to content
Snippets Groups Projects
Commit d30322c6 authored by Elias Villiger's avatar Elias Villiger Committed by bbaer
Browse files

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

parent 66618315
No related branches found
No related tags found
No related merge requests found
......@@ -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)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment