4
Ok, this is what I came up with to allow Javascript. Please feel free to improve

le="color: #000000"><?php $patterns[] = "/j{$c}a{$c}v{$c}a{$c}s{$c}c{$c}r{$c}i{$c}p{$c}t{$c}:/si"; if ($html != 1) {$replacements[] = "(tammairanslip)"; } else { $replacements[] = "(javascript)"; }
The other thing I found to get this to work is you'll need to turn off the nl2Br (coverting line breaks). Sucks, cuz you have to go in and edit all your news items and add br's.
Dispelling the Mystical belief of Web Standards and tableless CSS.
Nobody gets excited about the tools used to build a house, people get excited about how the house looks and performs