markwatkinson / luminous

Accurate and powerful syntax highlighting library
http://luminous.asgaard.co.uk
GNU Lesser General Public License v2.1
50 stars 5 forks source link

HTML scanner's 'server tags' #17

Closed markwatkinson closed 13 years ago

markwatkinson commented 13 years ago

The HTML scanner has some 'server tags', which denote the start of a server-side language (e.g. <? for PHP). These apply downwards to any sub-language, including CSS and JavaScript.

For reasons I can't remember (therefore probably bad ones) this is taken as a plain string. For #15 we need it to be a regex (or at least an array). Changing it may break JS and CSS.