theboxer/markdown-editor

Markdown Editor is converting Modx code

Closed this issue · 0 comments

Markdown Editor is parsing Modx code inside the square brackets so that for example:

[[!pdoResources? &parents=[[*id]]&where={"template:=":"5"}&tpl=EventPost]]

becomes:

<p>[[!pdoResources? & amp;parents=[[*id]]& amp;where={& quot;template:=& quot;:& quot;5& quot;}& amp;tpl=EventPost]]</p>

This means the the &where instruction does not work. The same is true of may other bits of Modx code that are rendered inoperative by Markdown Editor converting them into HTML codes.

Surely, anything between double square brackets should not be being converted by Markdown Editor.