changing all calls to marked to instead go through

PostTools.markdownToHTML
This commit is contained in:
Julian Lam
2013-07-22 12:58:10 -04:00
parent f40bf46656
commit 99ba792e6d
4 changed files with 6 additions and 10 deletions

View File

@@ -293,7 +293,7 @@ marked.setOptions({
timestamp = postData.timestamp;
if(postData.content)
stripped = utils.strip_tags(marked(postData.content));
stripped = utils.strip_tags(postTools.markdownToHTML(postData.content));
callback(null, {
"text": stripped,