Here is my question,
I have a text file and I am reading the file using jquery.
the code is here
$(function() {
$.get('files/james.txt', function(data) {
$('.disease-details').html(data);
}, 'text');
});
but I am getting only plain text and all formatting is disappearing.
I want to convert all the enter in to p
tag. is it possible?