@abraca/cli 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.
@@ -1749,9 +1749,9 @@ function parseBlocks(markdown) {
1749
1749
  i++;
1750
1750
  continue;
1751
1751
  }
1752
- if (line.startsWith("> ") || line === ">") {
1752
+ if (line.startsWith(">")) {
1753
1753
  const bqLines = [];
1754
- while (i < lines.length && (lines[i].startsWith("> ") || lines[i] === ">")) {
1754
+ while (i < lines.length && lines[i].startsWith(">")) {
1755
1755
  bqLines.push(lines[i].replace(/^>\s?/, ""));
1756
1756
  i++;
1757
1757
  }
@@ -2009,6 +2009,13 @@ function parseBlocks(markdown) {
2009
2009
  type: "paragraph",
2010
2010
  text: paraLines.join(" ")
2011
2011
  });
2012
+ else {
2013
+ blocks.push({
2014
+ type: "paragraph",
2015
+ text: line
2016
+ });
2017
+ i++;
2018
+ }
2012
2019
  }
2013
2020
  return blocks;
2014
2021
  }