Commit 07ddf861 authored by Torsten Oppermann's avatar Torsten Oppermann
Browse files

[TASK] Removing strip_tags and fluid tags from raw content

parent 31c966c0
......@@ -169,10 +169,10 @@ class MailController extends ActionController {
$templatePath = $this->getTemplatePath($selectedExtension, $selectedTemplate);
$filename = $templatePath . $selectedLanguageLeft . '.sg_mail.locallang.html';
file_put_contents($filename, '<f:format.nl2br>' . strip_tags($contentLeft) . '</f:format.nl2br>');
file_put_contents($filename, $contentLeft);
$filename = $templatePath . $selectedLanguageRight . '.sg_mail.locallang.html';
file_put_contents($filename, '<f:format.nl2br>' . strip_tags($contentRight) . '</f:format.nl2br>');
file_put_contents($filename, $contentRight);
$message = LocalizationUtility::translate('backend.success', 'sg_mail');
$this->addFlashMessage($message, '', FlashMessage::OK);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment