[TxMt] <script> tag intepreted as source.js.embedded.html

Quinn Comendant quinn at strangecode.com
Sat Nov 29 14:22:13 UTC 2014


In TM2, when a <script …> tag is prepended by any whitespace, the scope changes from `meta.tag.any.html` to `source.js.embedded.html`. This causes problems with the Comment Line command, as with the latter scope it prepends JS comments instead of HTML comments.

This problem exists when either HTML or PHP language is set for the document.

I don't think I've modified these language bundles. Any ideas for a fix?

Quinn


-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2014-11-29 at 19.59.58.png
Type: image/png
Size: 38320 bytes
Desc: not available
URL: <http://lists.macromates.com/textmate/attachments/20141129/1b64ae38/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2014-11-29 at 20.00.21.png
Type: image/png
Size: 34180 bytes
Desc: not available
URL: <http://lists.macromates.com/textmate/attachments/20141129/1b64ae38/attachment-0003.png>


More information about the textmate mailing list