Unable to view wiki when markdown contains table

When I include table markdown in a wiki the wiki view breaks.

Steps to reproduce

  1. Click the edit button to edit a wiki page
  2. Insert table markdown
  3. Click Save
  4. Click Expand Wiki Text Button

The rendered wiki page shows the table or the displayed it as plain text

No wiki content is displayed and an error is logged to the console

markedjsOverrides.js:286 Uncaught ReferenceError: splitCells is not defined
Please report this to https://github.com/markedjs/marked.
at n.r.Lexer.token (markedjsOverrides.js:286)
at n.lex (marked.js:179)
at Function.n.lex (marked.js:165)
at h (marked.js:1443)
at N.markdown (simplemde.js:1417)
at Object.N.e.previewRender.e.previewRender (simplemde.js:1341)
at I (simplemde.js:783)
at N.togglePreview (simplemde.js:1966)
at t.r.setReadMode (MarkdownEditor.js:198)
at t.r.handlePropsChange (MarkdownEditor.js:172)
at t.value (MarkdownEditor.js:94)
at e.notifyAll (CallbackQueue.js:74)
at r.close (ReactReconcileTransaction.js:78)
at r.closeAll (Transaction.js:207)
at r.perform (Transaction.js:154)
at o.perform (Transaction.js:141)
at o.perform (ReactUpdates.js:87)
at M (ReactUpdates.js:170)
at o.close (ReactUpdates.js:45)
at o.closeAll (Transaction.js:207)
at o.perform (Transaction.js:154)
at o.perform (ReactUpdates.js:87)
at Object.M [as flushBatchedUpdates] (ReactUpdates.js:170)
at r.closeAll (Transaction.js:207)
at r.perform (Transaction.js:154)
at Object.batchedUpdates (ReactDefaultBatchingStrategy.js:60)
at Object.batchedUpdates (ReactUpdates.js:95)
at dispatchEvent (ReactEventListener.js:145)
at HTMLDocument.r (raven.js:375)

I believe this is fixed in a new version we are shipping this week.

This is fixed in 3.0.1, now available here: https://www.dremio.com/download/

1 Like