mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-28 07:02:38 +00:00
Remove Line-break
Remove the linbreak between the </dt> and the first <dd>
This commit is contained in:
@@ -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