|
|
@@ -28,9 +28,11 @@ an opening tag that is not followed by a matching closing tag."
|
|
|
:init
|
|
|
(setq mweb-default-major-mode 'html-mode
|
|
|
mweb-tags '((php-mode "<\\?php\\|<\\? \\|<\\?=" "\\?>")
|
|
|
- (js-mode "<script[^>]*>" "</script>")
|
|
|
+ (js-mode "<script[^>]*type=[\"']text/javascript[\"'][^>]*>" "</script>")
|
|
|
+ (java-mode "<%" "%>")
|
|
|
+ (java-mode "<%=" "%>")
|
|
|
(css-mode "<style[^>]*>" "</style>"))
|
|
|
- mweb-filename-extensions '("php" "htm" "html" "ctp" "phtml" "php4" "php5"))
|
|
|
+ mweb-filename-extensions '("php" "htm" "html" "jsp" "ctp" "phtml" "php4" "php5"))
|
|
|
:config
|
|
|
(multi-web-global-mode 1)
|
|
|
(eval-after-load "sgml-mode"
|