File tree Expand file tree Collapse file tree 2 files changed +30
-1
lines changed
Expand file tree Collapse file tree 2 files changed +30
-1
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ name : Task
3+ about : Create a report to help us improve
4+ title : " [TASK]"
5+ labels : ' task'
6+ assignees : ' '
7+
8+ ---
9+
10+ ** Describe the task**
11+ A clear and concise description of what the task is.
12+
13+ ** Expected behavior**
14+ A clear and concise description of what you expected to happen.
15+
16+ ** Screenshots**
17+ If applicable, add screenshots to help explain your problem.
18+
19+ ** TYPO3 Setup**
20+ * TYPO3 Version
21+ * Server (Apache-cgi/Apache-fpm/nginx-fm/other)
22+ * wv_deepltranslate version (2.x, 3.x, main)
23+ * Database type and version (SQLite/Postgres/MariaDB/MySQL)
24+ * PHP version
25+ * DeepL free or paid API?
26+ * composer or classic setup?
27+
28+ ** Additional context**
29+ Add any other context about the problem here.
Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ public function translateContent(
144144 if (!empty ($ response ) && isset ($ response ['translations ' ])) {
145145 foreach ($ response ['translations ' ] as $ translation ) {
146146 if ($ translation ['text ' ] != '' ) {
147- $ content = $ translation ['text ' ];
147+ $ content = htmlspecialchars_decode ( $ translation ['text ' ], ENT_QUOTES | ENT_SUBSTITUTE | ENT_HTML5 ) ;
148148 break ;
149149 }
150150 }
You can’t perform that action at this time.
0 commit comments