mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-30 18:46:01 +01:00
closes #75
This commit is contained in:
@@ -115,7 +115,7 @@ marked.setOptions({
|
||||
postData.post_rep = postData.reputation;
|
||||
postData['edited-class'] = postData.editor !== '' ? '' : 'none';
|
||||
postData['relativeEditTime'] = postData.edited !== '0' ? utils.relativeTime(postData.edited) : '';
|
||||
|
||||
postData.content = marked(postData.content || '');
|
||||
posts[index] = postData;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user