bug-gnu-emacs
[Top][All Lists]
Advanced

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

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


From: Lars Ingebrigtsen
Subject: bug#30263: 26.0.91; whitespace-mode in mhtml-mode
Date: Sun, 14 Jul 2019 19:29:50 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

charles@aurox.ch (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





reply via email to

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