[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#7204: html-mode do not match { } when there is a if with <
From: |
Stefan Monnier |
Subject: |
bug#7204: html-mode do not match { } when there is a if with < |
Date: |
Tue, 12 Oct 2010 21:28:23 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
html-mode is not clever enough to know about scripts. So in html-mode,
"<" is treated as a kind of open-paren, just like ( and { and that
applies inside <script>...</script> just like elsewhere.
To fix this, you need support for "multiple major modes" or
something similar. You may wan to check mmm-mode.el or nxhtml or
multi-mode.el, ...
Stefan