From f8243f89b3d16b9ada1d29c04456254b4ecea47c Mon Sep 17 00:00:00 2001 From: Tom Price Date: Thu, 31 Mar 2016 00:29:58 +0100 Subject: [PATCH] Enable GH flavour linebreaks in JS rendered markdown --- RIGS/static/js/interaction.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/RIGS/static/js/interaction.js b/RIGS/static/js/interaction.js index 8ae180f9..dffcf6bc 100644 --- a/RIGS/static/js/interaction.js +++ b/RIGS/static/js/interaction.js @@ -1,3 +1,7 @@ +marked.setOptions({ + breaks: true, +}) + function setupItemTable(items_json) { objectitems = JSON.parse(items_json) $.each(objectitems, function (key, val) {