[TxMt] Style html tag included in CSS scope
Urbanose
urbanose at gmail.com
Fri Aug 11 18:08:23 UTC 2006
The same problem goes for the <script> tag.
I had a look at the Experimental HTML grammar (http://
anon:anon at macromates.com/svn/Bundles/trunk/Bundles/Experimental%
20HTML.tmbundle/Syntaxes/XHTML%201.0.tmLanguage), it's interesting...
(Even thought it's 10 times bigger) :]
Le 11 août 06 à 19:49, Michael Sheets a écrit :
>> In a html document the <style> tag seems to be included in the scope
>> of source.css.embedded.html whereas surely it isn't css at all, only
>> the contents between the tag are css.
>
> It's a known issue with the HTML grammar; I've been trying to work
> out in my head how to rearrange the HTML grammars to be less
> numerous etc. Once the best approach is figured out they just need
> to be re-written. In other words it could be fixed, but probably
> best to put the effort toward a new grammar.
>
> There is a grammar that I made as a proof of concept in the
> repository Experimental HTML; but it's highly strict, and only
> supports XHTML 1.0 Strict. On the flipside if your using that it
> works pretty well. :)
Urbanose
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2419 bytes
Desc: not available
URL: <http://lists.macromates.com/textmate/attachments/20060811/05c7caae/attachment.p7s>
More information about the textmate
mailing list