Skip to content

Commit

Permalink
remove tags and breaks from attachment tokens (#242)
Browse files Browse the repository at this point in the history
  • Loading branch information
fritzmg authored Nov 4, 2021
1 parent 068f868 commit 863b638
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/NotificationCenter/Util/StringUtil.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public static function getTokenAttachments($strAttachmentTokens, array $arrToken
}

foreach (trimsplit(',', $strAttachmentTokens) as $strToken) {
$strParsedToken = \Haste\Util\StringUtil::recursiveReplaceTokensAndTags($strToken, $arrTokens);
$strParsedToken = \Haste\Util\StringUtil::recursiveReplaceTokensAndTags($strToken, $arrTokens, static::NO_TAGS | static::NO_BREAKS);

foreach (trimsplit(',', $strParsedToken) as $strFile) {
$strFileFull = TL_ROOT . '/' . $strFile;
Expand Down

0 comments on commit 863b638

Please sign in to comment.