diff options
author | sgiehl <stefan@piwik.org> | 2015-12-07 20:11:27 +0300 |
---|---|---|
committer | sgiehl <stefan@piwik.org> | 2015-12-07 20:11:27 +0300 |
commit | 17bcab7848bddf6d4a25f0cce9e4d594936d673e (patch) | |
tree | f68103661aa8d2c4c3fa9c0ec8a4174368bb65c0 | |
parent | 93cf5309335ac238d0ae4667c7b6da316623d889 (diff) |
use piwikHelper.htmlDecode
-rw-r--r-- | plugins/CoreHome/javascripts/popover.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/CoreHome/javascripts/popover.js b/plugins/CoreHome/javascripts/popover.js index 308fc7a4bb..f7f366b149 100644 --- a/plugins/CoreHome/javascripts/popover.js +++ b/plugins/CoreHome/javascripts/popover.js @@ -142,7 +142,7 @@ var Piwik_Popover = (function () { /** Set the title of the popover */ setTitle: function (titleHtml) { - var titleText = $('<div>' + titleHtml + '</div>').text(); + var titleText = piwikHelper.htmlDecode(titleHtml); if (titleText.length > 60) { titleHtml = $('<span>').attr('class', 'tooltip').attr('title', titleText).html(titleHtml); } |