{"componentChunkName":"component---src-templates-post-tsx","path":"/posts/2019/07/bolt-unsafe-html-markdown/","result":{"data":{"markdownRemark":{"fields":{"slug":"/2019/07/bolt-unsafe-html-markdown/"},"frontmatter":{"title":"Injecting unsafe HTML into Bolt entries + CodeMirror/UIKit editor","tag":["php","bolt CMS","markdown"],"image":"https://encrypted-tbn0.gstatic.com/images?q=tbn%3AANd9GcTDO_p0QiaGehExbdLMqCY2MT7TP759whHkorR0MegIwQ4IHb4R"},"correctedDateEpoch":1562605200000,"html":"<p>By default, both <a href=\"https://docs.bolt.cm/3.6/fields/markdown#input-sanitisation\">Markdown field</a> and <a href=\"https://docs.bolt.cm/3.6/fields/html#input-sanitisation\">HTML field</a> is available for <a href=\"https://bolt.cm/\">Bolt CMS</a>, but sanitation is done before inserting into the database, making rendering of certain elements impossible; especially, for those starting with <code>&#x3C;</code> (Unless you use <code>&#x26;lt;</code>).</p>\n<p>So, I fixed this while preserving the editor (CodeMirror/UIKit) here <a href=\"https://github.com/patarapolw/bolt-markup\">https://github.com/patarapolw/bolt-markup</a></p>"}},"pageContext":{"slug":"/2019/07/bolt-unsafe-html-markdown/"}}}