mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-11-24 14:16:54 +00:00
Remove Line-break
Remove the linbreak between the </dt> and the first <dd>
This commit is contained in:
1 parent
827fdd3cff
commit
c78dcbfe05
1 file changed
+1
-2
@@ -233,8 +233,7 @@ const definitionLists = {
|
||||
renderer(token) {
|
||||
return `<dl>${token.definitions.reduce((html, def)=>{
|
||||
const dds = def.dd.map((s)=>`<dd>${this.parser.parseInline(s)}</dd>`).join('\n');
|
||||
return `${html}<dt>${this.parser.parseInline(def.dt)}</dt>
|
||||
${dds}`;
|
||||
return `${html}<dt>${this.parser.parseInline(def.dt)}</dt>${dds}`;
|
||||
}, '')}</dl>`;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user