From e237cd8be4f5749e5a485ef93a7bb3cc5b57db56 Mon Sep 17 00:00:00 2001 From: Trevor Buckner Date: Wed, 28 Jul 2021 23:55:56 -0400 Subject: [PATCH] Remove artificial spacing between mustache divs. --- shared/naturalcrit/markdown.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/shared/naturalcrit/markdown.js b/shared/naturalcrit/markdown.js index a154d6631..580ba5b5a 100644 --- a/shared/naturalcrit/markdown.js +++ b/shared/naturalcrit/markdown.js @@ -327,9 +327,7 @@ module.exports = { marked : Markdown, render : (rawBrewText)=>{ rawBrewText = rawBrewText.replace(/^\\column$/gm, `
`) - .replace(/^(:+)$/gm, (match)=>`${`
`.repeat(match.length)}\n`) - .replace(/^}}/gm, '\n}}') - .replace(/^({{[^\n]*)$/gm, '$1\n'); + .replace(/^(:+)$/gm, (match)=>`${`
`.repeat(match.length)}\n`); return Markdown( sanatizeScriptTags(rawBrewText), { renderer: renderer }