summaryrefslogtreecommitdiffstats
path: root/lib/private/Share20
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2018-02-26 13:38:39 +0100
committerGitHub <noreply@github.com>2018-02-26 13:38:39 +0100
commit226e63695f37d54f673fe563ca183ea3cc9b8c7a (patch)
tree9336aec1c4a2b78686606da480d0d818c6869b57 /lib/private/Share20
parent695e32d0a66c6c5293291c3f31c5458fd5c248db (diff)
parenta097ecded7e663d983571d272dfed07f890ba4f2 (diff)
downloadnextcloud-server-226e63695f37d54f673fe563ca183ea3cc9b8c7a.tar.gz
nextcloud-server-226e63695f37d54f673fe563ca183ea3cc9b8c7a.zip
Merge pull request #8026 from nextcloud/feature/noid/allow-custom-html-in-html-emails
Allow custom HTML in HTML Emails
Diffstat (limited to 'lib/private/Share20')
-rw-r--r--lib/private/Share20/Manager.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Share20/Manager.php b/lib/private/Share20/Manager.php
index 0ae96f29ded..cddd8c8d92b 100644
--- a/lib/private/Share20/Manager.php
+++ b/lib/private/Share20/Manager.php
@@ -735,7 +735,7 @@ class Manager implements IManager {
$text = $l->t('%s shared »%s« with you.', [$initiatorDisplayName, $filename]);
$emailTemplate->addBodyText(
- $text . ' ' . $l->t('Click the button below to open it.'),
+ htmlspecialchars($text . ' ' . $l->t('Click the button below to open it.')),
$text
);
$emailTemplate->addBodyButton(