Skip to content

Instantly share code, notes, and snippets.

@jpdevries
Last active August 29, 2015 14:16
Show Gist options
  • Save jpdevries/0a1b6da2a87b21c8ea1e to your computer and use it in GitHub Desktop.
Save jpdevries/0a1b6da2a87b21c8ea1e to your computer and use it in GitHub Desktop.
Escape MODX Parser with this Chunk
[[+input:notempty=`[[[[+input]]]]`]]
@jpdevries
Copy link
Author

usage:

[[$esc? &input=`$my-chunk`]]

Also see the tag MODX output filter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment