Skip to content
Snippets Groups Projects
Commit a8eaba45 authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms
Browse files

fix storing of i18n contents, fixes #1708

Closes #1708

Merge request studip/studip!1114
parent ac6ddd39
No related branches found
No related tags found
No related merge requests found
...@@ -44,12 +44,6 @@ class I18n_formattedInput extends Input ...@@ -44,12 +44,6 @@ class I18n_formattedInput extends Input
public function getRequestValue() public function getRequestValue()
{ {
$output = \Request::i18n($this->name); return \Studip\Markup::purifyHtml(\Request::i18n($this->name));
if (\Studip\Markup::editorEnabled()) {
$output = \Studip\Markup::purifyHtml(
\Studip\Markup::markAsHtml($output)
);
}
return $output;
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment