diff options
author | Lukas Reschke <lukas@owncloud.com> | 2015-01-10 01:19:37 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2015-01-10 01:19:37 +0100 |
commit | e4840b5250039d8a5ba092bec4f7923de3e37937 (patch) | |
tree | 204329cde87eefcec6fa742ae1111c7bb87d37f1 /apps/files/js | |
parent | 19b7911d79fca5c88849498298add83bd825565f (diff) | |
download | nextcloud-server-e4840b5250039d8a5ba092bec4f7923de3e37937.tar.gz nextcloud-server-e4840b5250039d8a5ba092bec4f7923de3e37937.zip |
Don't double encode string
We already use `.text()` here which automatically properly encodes the string. Thus the string will be double-encoded and look ugly. (i.e. when you search for ">" you will see "No results found for >")
Fixes itself.
Diffstat (limited to 'apps/files/js')
-rw-r--r-- | apps/files/js/filelist.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js index e680ef4b3ed..2027f62aa02 100644 --- a/apps/files/js/filelist.js +++ b/apps/files/js/filelist.js @@ -1692,7 +1692,7 @@ this.$el.find('#emptycontent').addClass('hidden'); if ( $('#searchresults').length === 0 || $('#searchresults').hasClass('hidden')) { this.$el.find('.nofilterresults').removeClass('hidden'). - find('p').text(t('files', "No entries in this folder match '{filter}'", {filter:this._filter})); + find('p').text(t('files', "No entries in this folder match '{filter}'", {filter:this._filter}, null, {'escape': false})); } } else { this.$el.find('#filestable thead th').toggleClass('hidden', this.isEmpty); |