diff --git a/lib/index.js b/lib/index.js index 11e5115..2f4b858 100644 --- a/lib/index.js +++ b/lib/index.js @@ -120,7 +120,7 @@ function enterCell(token) { function exitCodeText(token) { let value = this.resume() - if (this.data.inTable) { + if (this.data?.inTable) { value = value.replace(/\\([\\|])/g, replace) }