From c78dcbfe0563d03321a47ef6688df8eb5811999c Mon Sep 17 00:00:00 2001 From: David Bolack Date: Fri, 10 Nov 2023 23:19:55 -0600 Subject: [PATCH] Remove Line-break Remove the linbreak between the and the first
--- shared/naturalcrit/markdown.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/shared/naturalcrit/markdown.js b/shared/naturalcrit/markdown.js index ff262b244..ab4a0447f 100644 --- a/shared/naturalcrit/markdown.js +++ b/shared/naturalcrit/markdown.js @@ -233,8 +233,7 @@ const definitionLists = { renderer(token) { return `
${token.definitions.reduce((html, def)=>{ const dds = def.dd.map((s)=>`
${this.parser.parseInline(s)}
`).join('\n'); - return `${html}
${this.parser.parseInline(def.dt)}
- ${dds}`; + return `${html}
${this.parser.parseInline(def.dt)}
${dds}`; }, '')}
`; } };