@abraca/cli 2.18.0 → 2.20.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.
@@ -1780,9 +1780,9 @@ function parseBlocks(markdown) {
1780
1780
  i++;
1781
1781
  continue;
1782
1782
  }
1783
- if (line.startsWith("> ") || line === ">") {
1783
+ if (line.startsWith(">")) {
1784
1784
  const bqLines = [];
1785
- while (i < lines.length && (lines[i].startsWith("> ") || lines[i] === ">")) {
1785
+ while (i < lines.length && lines[i].startsWith(">")) {
1786
1786
  bqLines.push(lines[i].replace(/^>\s?/, ""));
1787
1787
  i++;
1788
1788
  }
@@ -2040,6 +2040,13 @@ function parseBlocks(markdown) {
2040
2040
  type: "paragraph",
2041
2041
  text: paraLines.join(" ")
2042
2042
  });
2043
+ else {
2044
+ blocks.push({
2045
+ type: "paragraph",
2046
+ text: line
2047
+ });
2048
+ i++;
2049
+ }
2043
2050
  }
2044
2051
  return blocks;
2045
2052
  }