aboutsummaryrefslogtreecommitdiffstats
path: root/core/js/sharedialogview.js
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2016-11-23 15:22:36 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2016-11-23 15:22:36 +0100
commit9394713e72ced1294bb30770aee22840e7fa79e1 (patch)
treef995bd190a0283881eff33fc5119f717aa2e578e /core/js/sharedialogview.js
parent2eca9cc384e967c9b619eb5c6a484ab70e3aea17 (diff)
downloadnextcloud-server-9394713e72ced1294bb30770aee22840e7fa79e1.tar.gz
nextcloud-server-9394713e72ced1294bb30770aee22840e7fa79e1.zip
Do not escape sharees
Fixes #2253 Do not escape special characters else it will look very strange.
Diffstat (limited to 'core/js/sharedialogview.js')
-rw-r--r--core/js/sharedialogview.js12
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);