diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2016-11-23 16:40:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-23 16:40:01 +0100 |
commit | e03512d4bc617555a29476ddf4ac40bf676d1f0b (patch) | |
tree | 9a30ae322cf1983acdeaee0c23f73758e66f4e5b /core/js/sharedialogview.js | |
parent | aa30c4cd80086d8cf6250454145c2ed012cef278 (diff) | |
parent | 9394713e72ced1294bb30770aee22840e7fa79e1 (diff) | |
download | nextcloud-server-e03512d4bc617555a29476ddf4ac40bf676d1f0b.tar.gz nextcloud-server-e03512d4bc617555a29476ddf4ac40bf676d1f0b.zip |
Merge pull request #2280 from nextcloud/do_not_escape_sharees
Do not escape sharees
Diffstat (limited to 'core/js/sharedialogview.js')
-rw-r--r-- | core/js/sharedialogview.js | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/core/js/sharedialogview.js b/core/js/sharedialogview.js index 6377d16dd4c..f83a2675958 100644 --- a/core/js/sharedialogview.js +++ b/core/js/sharedialogview.js @@ -265,17 +265,11 @@ var text = item.label; if (item.value.shareType === OC.Share.SHARE_TYPE_GROUP) { - text = t('core', '{sharee} (group)', { - sharee: text - }); + text = t('core', '{sharee} (group)', { sharee: text }, undefined, { escape: false }); } else if (item.value.shareType === OC.Share.SHARE_TYPE_REMOTE) { - text = t('core', '{sharee} (remote)', { - sharee: text - }); + text = t('core', '{sharee} (remote)', { sharee: text }, undefined, { escape: false }); } else if (item.value.shareType === OC.Share.SHARE_TYPE_EMAIL) { - text = t('core', '{sharee} (email)', { - sharee: text - }); + text = t('core', '{sharee} (email)', { sharee: text }, undefined, { escape: false }); } var insert = $("<div class='share-autocomplete-item'/>"); var avatar = $("<div class='avatardiv'></div>").appendTo(insert); |