Title: deepL returns invalid HTML
Last modified: November 24, 2023

---

# deepL returns invalid HTML

 *  Resolved [Jules Colle](https://wordpress.org/support/users/jules-colle/)
 * (@jules-colle)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/deepl-returns-invalid-html/)
 * We’ve been having problems on and off with automatic translations, but I finally
   was able to prove that the issues come from deepL. Here’s an example text in 
   French:
 *     ```wp-block-code
       <p>Texte a propos de nous. Hoera !</p>
       <p>Encore du texte</p>
       ```
   
 * If you send this text to deepL to translate it to Dutch it returns:
 *     ```wp-block-code
       <p>Tekst over ons. Hoera!
       <p>Meer tekst</p>
       ```
   
 * As you can see, the first paragraph isn’t closed, which can lead to messed up
   lay out on the page because the returned HTML isn’t valid.
 * ![](https://i0.wp.com/bdwm.be/publicly-shared-files/deepl.png?ssl=1)
 * You can test this by copying the text in [https://www.deepl.com/en/translator](https://www.deepl.com/en/translator)
    -  This topic was modified 2 years, 6 months ago by [Jules Colle](https://wordpress.org/support/users/jules-colle/).
    -  This topic was modified 2 years, 6 months ago by [Jules Colle](https://wordpress.org/support/users/jules-colle/).

Viewing 1 replies (of 1 total)

 *  [Andrei](https://wordpress.org/support/users/andrei202/)
 * (@andrei202)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/deepl-returns-invalid-html/#post-17235578)
 * Greetings,
 * Thank you for forwarding this issue to us. We appreciate your detailed description
   and examples.
 * We will make sure to replicate this behavior and further look into this.
 * Regards,

Viewing 1 replies (of 1 total)

The topic ‘deepL returns invalid HTML’ is closed to new replies.

 * ![](https://ps.w.org/translatepress-multilingual/assets/icon.svg?rev=3166541)
 * [TranslatePress - Translate Multilingual sites with AI Translation](https://wordpress.org/plugins/translatepress-multilingual/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/translatepress-multilingual/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/translatepress-multilingual/)
 * [Active Topics](https://wordpress.org/support/plugin/translatepress-multilingual/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/translatepress-multilingual/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/translatepress-multilingual/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Andrei](https://wordpress.org/support/users/andrei202/)
 * Last activity: [2 years, 6 months ago](https://wordpress.org/support/topic/deepl-returns-invalid-html/#post-17235578)
 * Status: resolved