HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

ocWhitelist

Normally there is a set of Comcode tags that regular users simply cannot use. However, with the ocWhitelist 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.

License

Licensed on the same terms as ocPortal

Images