in my application, i do an ajax call to a php method, like this:
$.ajax({
        type:'POST',
        url:'/myPhpMethod',
        data:data,
        success:function(data){
            alert(data);
        },error(msg, e){}
    });
the php method returns a string in html format retrieved from the database like this
<div>Hello World</div><br><div>My name is John</div>
At this point, javascript modifies the string in the following format:
&lt;div&gt;Hello World&lt;/div&gt;&lt;br&gt;&lt;div&gt;My name is John&lt;/div&gt;
I need to put the HTML string in a WYSIWYG HTML Editor, but it is not possible in that encoded string.
Thanks in advance for help
