I would like to use WYMeditor to edit Smarty templates. It works perfectly except that it attempts to "clean" code contained within the Smarty delimiters. Is there a way that I can tell WYMeditor to ignore any code contained with certain delimiters. For example, a typical Smarty tag might look like this:
{if $object->item['property'] > 0}
WYMeditor would convert this to:
{if $object->item['property'] > 0}
I realize that the content within the tag is not valid XHTML, but the whole point of Smarty is to generate dynamic content, so I want WYMeditor to ignore content contained within Smarty tags.