mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-22 10:26:20 +00:00
add two more mhtml tests
* test/manual/indent/html-multi-2.html: New file. * test/manual/indent/html-multi-3.html: New file.
This commit is contained in:
parent
59409f409d
commit
04a5ce0b65
35
test/manual/indent/html-multi-2.html
Normal file
35
test/manual/indent/html-multi-2.html
Normal file
@ -0,0 +1,35 @@
|
||||
<!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>
|
||||
<!--
|
||||
Local Variables:
|
||||
mhtml-tag-relative-indent: nil
|
||||
End:
|
||||
-->
|
||||
</html>
|
35
test/manual/indent/html-multi-3.html
Normal file
35
test/manual/indent/html-multi-3.html
Normal file
@ -0,0 +1,35 @@
|
||||
<!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>
|
||||
<!--
|
||||
Local Variables:
|
||||
mhtml-tag-relative-indent: ignore
|
||||
End:
|
||||
-->
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user