Hello @YutongTie-MSFT
It is resolved now, thanks. Seems to have been the query param "textType"='html' was left out causing the above issue.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi There,
I came across a bug when using the Translate API v3. Using the textType='html', specifically for french.
Example input:
RETURNS -->
text: "<p><span style="font-size: 10pt;">Il s’agit d’un texte de test avec un lien <a title="Ceci est juste un titre de lien aléatoire » href="https://www.google.com » target="_blank » rel="noopener">il s’agit d’un lien aléatoire pour les tests</a></span></p>"
As you can see from the response of the API, it replaces ' " ' at the end of the href and target with ' » '. This breaks the <a></a> tag completely.
Hello @YutongTie-MSFT
It is resolved now, thanks. Seems to have been the query param "textType"='html' was left out causing the above issue.