polv's coding blog

Pinned Health Windows macOS Linux Cross-platform
Pacharapol Withayasakpunt Pacharapol Withayasakpunt
Mon, July 8, 2019
Injecting unsafe HTML into Bolt entries + CodeMirror/UIKit editor

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.

patarapolw/bolt-markup

patarapolw/bolt-markup

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

Tags: bolt-cmsmarkdownphp

Tag Cloud

javascripttypescriptpythonlinuxmarkdownnode.jsvuenuxtmacospdfvscodewebdevchinesecrossplatformdesktopgithub-pagesseosqliteubuntuwindowsbolt-cmscmsconkydigitaloceandockerelectronfrescobaldigooglehealthlatex
Tweets by patarapolw