Closed SchumacherFM closed 10 years ago
One thing to note, though, is that reMarked will actually modify the table and insert a thead with either the header row plucked from tbody or with a newly created fake header row.
Because of this, it may not be suitable for live-preview applications where the passed DOM node needs to remain unmodified. The workaround for this would be to pass the innerHTML of the node as a string so reMarked is forced to create an isolated DOM fragment rather than traversing the original.
Cool, thanks :-)
References https://github.com/SchumacherFM/Magento-Markdown/issues/13