@markdoc/markdoc 0.5.0 → 0.5.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.mjs CHANGED
@@ -8312,7 +8312,7 @@ function block3(state, startLine, endLine, silent) {
8312
8312
  if (!state.src.startsWith(OPEN2, start))
8313
8313
  return false;
8314
8314
  const close = state.src.indexOf(CLOSE2, start);
8315
- if (!close)
8315
+ if (close === -1)
8316
8316
  return false;
8317
8317
  if (silent)
8318
8318
  return true;
@@ -8328,7 +8328,7 @@ function inline3(state, silent) {
8328
8328
  if (!state.src.startsWith(OPEN2, state.pos))
8329
8329
  return false;
8330
8330
  const close = state.src.indexOf(CLOSE2, state.pos);
8331
- if (!close)
8331
+ if (close === -1)
8332
8332
  return false;
8333
8333
  if (silent)
8334
8334
  return true;