From 40d93892a7b7c4f747a0756fc70b5f984c7f240b Mon Sep 17 00:00:00 2001 From: "Daniel W. Hieber" Date: Fri, 15 Mar 2024 23:40:07 -0500 Subject: [PATCH] FIX: Reduce whitespace in word lines --- src/words/index.js | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/words/index.js b/src/words/index.js index e0047ca..d38e9c3 100644 --- a/src/words/index.js +++ b/src/words/index.js @@ -16,12 +16,11 @@ export default function createWords(words, options) { const morphemes = createMorphemes(word.analysis, options) const transcription = createTranscription(word.transcription, options) - html += `
  • - ${ transcription } - ${ literal } - ${ morphemes } - ${ glosses } -
  • ` + const lines = [transcription, morphemes, glosses, literal] + .filter(Boolean) + .join(``) + + html += `
  • ${ lines }
  • ` }