On 3/7/2006, at 10:31, Luke Daley wrote: > Thanks for the help Allan. I can't seem to get it to work though, > does something in the begin or end labels need to be escaped? Shouldn’t be necessary. Try post more context. If you’re adding to the default HTML grammar, be sure to place the rule above the JS <script> rule.