Hi,
I'm trying to translate a string containing the html tags <p> and <em>, I've tried every option related to the splitting, but it stills split the text.
text: <p><em>Wait, wait, wait! Didn’t we explicitly tell her </em>not<em> to get involved with royalty?!</em></p>
result: 3 translate objects:
¡Espere, espere, espere! ¿No le dijimos explícitamente
no
¡a involucrarse con la realeza?!
expected:
<p><em>¡Espere, espere, espere! ¿No le dijimos explícitamente </em>no<em> ¡a involucrarse con la realeza?!</em></p>
Hi, I'm trying to translate a string containing the html tags
<p>
and<em>
, I've tried every option related to the splitting, but it stills split the text.text:
<p><em>Wait, wait, wait! Didn’t we explicitly tell her </em>not<em> to get involved with royalty?!</em></p>
result: 3 translate objects:
¡Espere, espere, espere! ¿No le dijimos explícitamente
no
¡a involucrarse con la realeza?!
expected:
<p><em>¡Espere, espere, espere! ¿No le dijimos explícitamente </em>no<em> ¡a involucrarse con la realeza?!</em></p>
Code lines tested:
I have tested with tag_handling='xml', but doesn't work either.