We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f39ea33 commit d621051Copy full SHA for d621051
Classes/Hooks/TranslateHook.php
@@ -144,7 +144,7 @@ public function translateContent(
144
if (!empty($response) && isset($response['translations'])) {
145
foreach ($response['translations'] as $translation) {
146
if ($translation['text'] != '') {
147
- $content = $translation['text'];
+ $content = htmlspecialchars_decode($translation['text'], ENT_QUOTES | ENT_SUBSTITUTE | ENT_HTML5);
148
break;
149
}
150
0 commit comments