diff options
author | Tom Tromey <tom@tromey.com> | 2017-03-23 11:34:18 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2017-04-05 15:53:39 -0600 |
commit | 335174ee5037a2751c31bfd9ecb87cedb4bc3cda (patch) | |
tree | d2faaab5f48303aa08ef707d842d2e22e31650f6 /test/manual/indent/html-multi.html | |
parent | d392b6e82460d94b11627998da87e33880664060 (diff) | |
download | emacs-335174ee5037a2751c31bfd9ecb87cedb4bc3cda.tar.gz emacs-335174ee5037a2751c31bfd9ecb87cedb4bc3cda.tar.bz2 emacs-335174ee5037a2751c31bfd9ecb87cedb4bc3cda.zip |
add mhtml-mode.el
* etc/NEWS: Update.
* lisp/textmodes/mhtml-mode.el: New file.
* test/manual/indent/html-multi.html: New file.
* test/lisp/textmodes/mhtml-mode-tests.el: New file.
* doc/emacs/text.texi (HTML Mode): Mention mhtml-mode.
Diffstat (limited to 'test/manual/indent/html-multi.html')
-rw-r--r-- | test/manual/indent/html-multi.html | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/test/manual/indent/html-multi.html b/test/manual/indent/html-multi.html new file mode 100644 index 00000000000..a563c5eb244 --- /dev/null +++ b/test/manual/indent/html-multi.html @@ -0,0 +1,30 @@ +<!DOCTYPE html> +<html> + <head> + <title>test</title> + <!-- + <script> + // No indent in a comment + if (true) { + do not change; + } + </script> + --> + + <style type="text/css"> + h1 { + font-family: 'Spinnaker', sans-serif; + } + </style> + <script> + var a = 4 < 5; + function() { + if (x > 75) + return 25; + return "hello"; + } + </script> + </head> + <body> + </body> +</html> |