Merge pull request #5369 from nextcloud/fix-user-group-name-escaping

Fix escaping of user and group names in "shared by" message
This commit is contained in:
Morris Jobke 2017-06-13 10:34:31 -05:00 committed by GitHub
commit 906b2402b4
1 changed files with 6 additions and 2 deletions

View File

@ -80,13 +80,17 @@
{
group: this.model.getReshareWithDisplayName(),
owner: ownerDisplayName
}
},
undefined,
{escape: false}
);
} else {
sharedByText = t(
'core',
'Shared with you by {owner}',
{ owner: ownerDisplayName }
{ owner: ownerDisplayName },
undefined,
{escape: false}
);
}