Skip to content
Extraits de code Groupes Projets
Valider 17bcab78 rédigé par sgiehl's avatar sgiehl
Parcourir les fichiers

use piwikHelper.htmlDecode

parent 93cf5309
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -142,7 +142,7 @@ var Piwik_Popover = (function () { ...@@ -142,7 +142,7 @@ var Piwik_Popover = (function () {
/** Set the title of the popover */ /** Set the title of the popover */
setTitle: function (titleHtml) { setTitle: function (titleHtml) {
var titleText = $('<div>' + titleHtml + '</div>').text(); var titleText = piwikHelper.htmlDecode(titleHtml);
if (titleText.length > 60) { if (titleText.length > 60) {
titleHtml = $('<span>').attr('class', 'tooltip').attr('title', titleText).html(titleHtml); titleHtml = $('<span>').attr('class', 'tooltip').attr('title', titleText).html(titleHtml);
} }
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter