[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: html, css, and js modes working together

From: Tom Tromey
Subject: Re: html, css, and js modes working together
Date: Thu, 09 Feb 2017 19:31:55 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.91 (gnu/linux)

>>>>> "Tom" == Tom Tromey <address@hidden> writes:

Clément> I'm a bit wary of rules like the following:
Clément> "<script.*?>\\(\\(\n\\|.\\)*?\\)</script>"
Clément> Won't this pick up <script> tags in comments?

Tom> I tried this just now and it seemed to work ok.

Well, I was wrong about that... it worked at the time somehow but with
my latest code it is wrong.  Time to write those test cases I guess.
Maybe this can be made to work by having the syntax-propertize function
notice when it's already in an HTML comment.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]