@emailens/engine 0.9.1 → 0.9.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -10089,7 +10089,11 @@ function toPlainText(html) {
10089
10089
  return;
10090
10090
  }
10091
10091
  const isBlock = BLOCK_TAGS.has(tag);
10092
- if (isBlock) flushLine();
10092
+ if (isBlock) {
10093
+ flushLine();
10094
+ } else if (currentLine && !currentLine.endsWith(" ")) {
10095
+ currentLine += " ";
10096
+ }
10093
10097
  if (tag === "li") {
10094
10098
  currentLine = "- ";
10095
10099
  }