summaryrefslogtreecommitdiffstats
path: root/core/src
diff options
context:
space:
mode:
Diffstat (limited to 'core/src')
-rw-r--r--core/src/OCP/collaboration.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/OCP/collaboration.js b/core/src/OCP/collaboration.js
index 394e1d34512..efc495b8bf2 100644
--- a/core/src/OCP/collaboration.js
+++ b/core/src/OCP/collaboration.js
@@ -64,7 +64,7 @@ export default {
return types[type].typeIconClass || '';
},
getLabel(type) {
- return t('core', 'Link to a {label}', { label: types[type].typeString || type }, 1)
+ return escapeHTML(types[type].typeString || type)
},
getLink(type, id) {
/* TODO: Allow action to be executed instead of href as well */