Subject: Re: bug#30263: 26.0.91; whitespace-mode in mhtml-mode

From: Lars Ingebrigtsen <[email-masked]>
Date: Sun, 14 Jul 2019 19:29:50 +0200

[email-masked] (Charles A. Roelli) writes:

> src/emacs -q
> C-x C-f test/manual/indent/html-multi-2.html RET
> M-x whitespace-mode RET
>
> It looks like whitespace is not shown within <style> (CSS) and <script> (JS)
> tags the same way as it is in HTML parts of the buffer.  For example, line 14
> correctly shows as:
>
>         <style type="text/css">
>
> with a lightly-colored "»" in column 1, and a lightly-colored leading
> whitespace, whereas line 15 shows as:
>
> »       h1 {
>
> with no coloring, even though the leading whitespace is the same (one TAB
> character).

It looks like none? some? of the font locking keywords set up by
whitespace mode are in effect in the CSS bits, but they are in effect in
the HTML bits?  I'm guessing this has something to do with mhtml-mode,
so perhaps Tom has some insights here...

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no