From d30322c6f784c886c272c3fa21d7b44e46e41a52 Mon Sep 17 00:00:00 2001
From: elvill <elias.villiger@uzh.ch>
Date: Fri, 9 Feb 2018 10:03:16 +0100
Subject: [PATCH] Bug #5382 - Double quotes in tooltips are now escaped with
 &quot;

---
 extension/qfq/qfq/helper/Support.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/extension/qfq/qfq/helper/Support.php b/extension/qfq/qfq/helper/Support.php
index 7e6c560a2..c936930ef 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)) {
-- 
GitLab