I've opened https://rexxars.github.io/react-markdown/ and tried to check following snippet and all works fine:
<table>
<tr>
<td>1</td>
<td>a</td>
</tr>
</table>
But if I am trying to use this one all crashes:
<table><tr><td>1</td><td>a</td></tr></table>
Stack trace from console:
Uncaught TypeError: (el.props.children || []).concat is not a function
at mergeNodeChildren (ast-to-react.js?5e65:214)
at getNodeProps (ast-to-react.js?5e65:175)
at astToReact (ast-to-react.js?5e65:18)
at eval (ast-to-react.js?5e65:23)
at Array.map (<anonymous>)
at resolveChildren (ast-to-react.js?5e65:22)
at astToReact (ast-to-react.js?5e65:19)
at ReactMarkdown (react-markdown.js?2ced:58)
at ReactMarkdownWithHtml (with-html.js?7ca6:13)
at ProxyFacade (react-hot-loader.development.js?9cb3:705)
I've opened https://rexxars.github.io/react-markdown/ and tried to check following snippet and all works fine:
But if I am trying to use this one all crashes:
Stack trace from console: