v1.18.x
Baris Soner Usakli 12 years ago
parent 48bb1b06c2
commit dd3b01dfed

@ -508,8 +508,10 @@ marked.setOptions({
var stripped = postData.content, var stripped = postData.content,
timestamp = postData.timestamp; timestamp = postData.timestamp;
if(postData.content) if(postData.content) {
stripped = utils.strip_tags(postTools.markdownToHTML(postData.content)); stripped = postData.content.replace(/>.+\n\n/, '');
stripped = utils.strip_tags(postTools.markdownToHTML(stripped));
}
callback(null, { callback(null, {
"text": stripped, "text": stripped,

Loading…
Cancel
Save