diff options
| author | Tom Tromey | 2017-03-23 11:34:18 -0600 |
|---|---|---|
| committer | Tom Tromey | 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.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 @@ | |||
| 1 | <!DOCTYPE html> | ||
| 2 | <html> | ||
| 3 | <head> | ||
| 4 | <title>test</title> | ||
| 5 | <!-- | ||
| 6 | <script> | ||
| 7 | // No indent in a comment | ||
| 8 | if (true) { | ||
| 9 | do not change; | ||
| 10 | } | ||
| 11 | </script> | ||
| 12 | --> | ||
| 13 | |||
| 14 | <style type="text/css"> | ||
| 15 | h1 { | ||
| 16 | font-family: 'Spinnaker', sans-serif; | ||
| 17 | } | ||
| 18 | </style> | ||
| 19 | <script> | ||
| 20 | var a = 4 < 5; | ||
| 21 | function() { | ||
| 22 | if (x > 75) | ||
| 23 | return 25; | ||
| 24 | return "hello"; | ||
| 25 | } | ||
| 26 | </script> | ||
| 27 | </head> | ||
| 28 | <body> | ||
| 29 | </body> | ||
| 30 | </html> | ||