Hello, Google Translaton Api has been working just fine for me except one problem. I allow the users to use editor to post something. The editor generates too much of html like :-
<span><span><span>Hello World</span></span></span>`
The google translation API by default only filters HTML upto one level. Thus, for example if it is :-
<span>Hello World</span>
and i translate it into fr, it works, but if the text is something like :-
Hello Laala<span><span><span>Hello World</span></span></span>
and i translate it into fr, Hello Laala would get translated but Hello World won't because too many levels of nesting of tags are there. How do i solve this problem? Thanks in advance