|
|
@ -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,
|
|
|
|