Knowledge Base

Can I change what is considered ‘Safe HTML’?

The list of which HTML tags are considered “safe” is located in the system/core.core.typography.php file.  There are $safe_encode and $safe_decode arrays specified around lines 60-70.  You may modify the “safe” tags by changing those two functions.

Note: This allows you to use the tags as HTML or pMcode, but it will not allow tag attributes to be used with these tags.

Last Updated on Jun 06, 2008 at 18:33   ( Permalink )
Category: Customization