The html content after translating from bing, display as plain text with all html tags visible. I am using the code from here http://msdn.microsoft.com/en-us/library/ff512421.aspx#phpexample How can i convert it to display as html?
Asked
Active
Viewed 310 times
1 Answers
3
Try appending contentType="text/html" to the querystring as in http://api.microsofttranslator.com/V2/Ajax.svc/Translate?oncomplete=yourfunction&appId=yourAppID&from=lang1&to=lang2&text=yourHtml&contentType=text/html
Ref: URI parameters

kerem
- 2,699
- 1
- 32
- 37

sami ferjani
- 46
- 2