--- 'mermaid': patch --- fix: error `mermaid.parse` on an invalid shape, so that it matches the errors thrown by `mermaid.render`