mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-02 20:16:04 +01:00
changing all calls to marked to instead go through
PostTools.markdownToHTML
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user