@markdoc/markdoc 0.5.3 → 0.5.4

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
@@ -7224,7 +7224,7 @@ function* formatNode(n, o = {}) {
7224
7224
  if (o.parent && WRAPPING_TYPES.includes(o.parent.type)) {
7225
7225
  yield* escapeMarkdownCharacters(content, /[*_~]/g);
7226
7226
  } else {
7227
- yield* escapeMarkdownCharacters(content, /^\*|#+\s|>/);
7227
+ yield* escapeMarkdownCharacters(content, /^\*|#+\s|^>/);
7228
7228
  }
7229
7229
  }
7230
7230
  break;