The forums ran from 2008-2020 and are now closed and viewable here as an archive.
I’m accessing a webservice to get the content to my website page and that content have some tags.
Instead of making a new line, html() function is printing <br /> in the middle of the string.
Is there any other function to deal with html tags like it should?
I’m not really sure what you mean. Could you explain a bit more clearly?
That’s right. Sorry for the bad explanation, my English didn’t allowed a better one. :)
I tried $(element).text(content) too but the output is:
bla bla<br />bla bla
My file is encoded with utf-8 and when I make the request I’m using:
Hmmm, why don’t you try using jQuery to get the requests?