From fdc866c840f207dedb330676b15b682184272d03 Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Sat, 11 May 2013 00:45:04 -0400 Subject: [PATCH] fixing line breaks on posts markdown rendering --- src/posts.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/posts.js b/src/posts.js index 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) {