diff options
author | Thomas Steur <thomas.steur@gmail.com> | 2016-02-14 23:10:26 +0300 |
---|---|---|
committer | Thomas Steur <thomas.steur@gmail.com> | 2016-02-14 23:10:26 +0300 |
commit | 2bae9d90f860f3ccc5598420eb978cafd598451e (patch) | |
tree | b742afddcfc882de15b9c075522cee4eae680db6 /plugins/CoreHome/angularjs/common/directives | |
parent | 41b579a9d94a05f7c0cb2e42bf7c03c2d374ed95 (diff) |
merge master => 3.0
Diffstat (limited to 'plugins/CoreHome/angularjs/common/directives')
-rw-r--r-- | plugins/CoreHome/angularjs/common/directives/autocomplete-matched.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/CoreHome/angularjs/common/directives/autocomplete-matched.js b/plugins/CoreHome/angularjs/common/directives/autocomplete-matched.js index 5379253589..d90620053f 100644 --- a/plugins/CoreHome/angularjs/common/directives/autocomplete-matched.js +++ b/plugins/CoreHome/angularjs/common/directives/autocomplete-matched.js @@ -37,7 +37,7 @@ return; } - var content = element.text(); + var content = piwik.helper.htmlEntities(element.text()); var startTerm = content.toLowerCase().indexOf(searchTerm.toLowerCase()); if (-1 !== startTerm) { |