Hi there,
When I get content from the database like in the code below, all tags are converted to plain html. So instead of BOLD TEXT I see </b>BOLD TEXT</b> .
How do I preserve the special characters, lines between paragraphs, etc.?
// Make a call to the server to retrieve all data
function retrieveResults(handleData) {
return $.ajax({
url: "forms-processing.php",
type: 'POST',
dataType: 'json',
data: "projects=true",
success: function(data) {
handleData(data);
}
});
}
retrieveResults(function(output){
$('#content').append(output[1].content));
});