Node.js based forum software built for the modern web
fixing line breaks on posts markdown rendering
Julian Lamfdc866c840f2
diff --git a/src/posts.js b/src/posts.jsindex 28aff71a18..c32a5589c4 100644--- a/src/posts.js+++ b/src/posts.js@@ -5,6 +5,10 @@ var RDB = require('./redis.js'),topics = require('./topics.js'),config = require('../config.js');+marked.setOptions({+ breaks: true+});+(function(Posts) {Posts.get = function(callback, tid, current_user, start, end) {