In an AJAX call back in drupal it is normally recommended to use drupal_json() to send data to client. This function converts the raw data into JSON along with HTML encoding.
I want to send the HTML data without encoding to client. for this I am using following code:
print $html_output;
exit(0);
Is there any recommended or best way in drupal to do so?