Hi Marc,
Sure, I've put only thoose two, but you can use:
config.protectedSource.push( /<[\s]+:[.\s]+>[.]*<\/[\s]+:[.\s]+>/gi ); // Tags with namespace
config.protectedSource.push( /<[\s]+:[.\s]+\/>/gi ); // Tags with namespace (Self-closing)
Mods:
Switched from "*" to "+" to have at least one char
"/s/S" to "/s" since gi is case INsensitive
Having [./s/S] is redudant. Just need the "." (any char)
Regards,
KaLu10
This message was edited 2 times. Last update was at 24/08/2010 16:45:18
|