Comcode HTML Whitelist

Fine-grained control over Comcode permissions.

Normally there is a set of Comcode tags that regular users simply cannot use. However, with the Comcode/HTML Whitelist addon you can define a list of special cases, portions of Comcode that are allowed regardless of the limitation on the tag itself. Put each sequence of Comcode on it's own line, and make sure that each line starts and ends with the open/close for the tag that is being whitelisted on. i.e. each line should look like

Code

[tag...]...[/tag]

Alternatively you can also use regular expressions (explained here: PHP: PCRE - Manual), if you surround with slashes and encode things appropriately.

Licence

Licensed on the same terms as Composr

Images

Back to Top