Tag: php

Pacharapol Withayasakpunt Pacharapol Withayasakpunt
Tue 9 July 2019
Injecting unsafe HTML into Bolt entries + CodeMirror/UIKit editor

By default, both Markdown field and HTML field is available for Bolt CMS, but sanitation is done before inserting into the database, making rendering of certain elements impossible; especially, for those starting with < (Unless you use &lt;).

So, I fixed this while preserving the editor (CodeMirror/UIKit) here.



Bolt extension to insert unsafe markdown and HTML, while preserving the editor - patarapolw/bolt-markup