@abraca/convert 2.19.0 → 2.21.0

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.
@@ -471,9 +471,9 @@ function parseBlocks(markdown) {
471
471
  i++;
472
472
  continue;
473
473
  }
474
- if (line.startsWith("> ") || line === ">") {
474
+ if (line.startsWith(">")) {
475
475
  const bqLines = [];
476
- while (i < lines.length && (lines[i].startsWith("> ") || lines[i] === ">")) {
476
+ while (i < lines.length && lines[i].startsWith(">")) {
477
477
  bqLines.push(lines[i].replace(/^>\s?/, ""));
478
478
  i++;
479
479
  }
@@ -731,6 +731,13 @@ function parseBlocks(markdown) {
731
731
  type: "paragraph",
732
732
  text: paraLines.join(" ")
733
733
  });
734
+ else {
735
+ blocks.push({
736
+ type: "paragraph",
737
+ text: line
738
+ });
739
+ i++;
740
+ }
734
741
  }
735
742
  return blocks;
736
743
  }