weird indentation after <script> tag
Bug #763289 reported by
Tao Peng
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nXhtml |
New
|
Undecided
|
Unassigned |
Bug Description
<html xmlns="http://
<head>
<body>
<script type="text/
var foo = function () {
};
</script>
</body>
</html>
It seems to be a bug in the function `mumamo-
Environment:
Emacs 23.3
nxhtml 2.09 beta
To post a comment you must log in.
Seeing the same bug in Emacs 24.0.93.1, nxhtml 2.09 beta (revision 834).
Looks like the indent is set to the number of chars between the script tags, including newlines. Doesn't seem to occur if the script is all on one line; for example,
<html xmlns="http:// www.w3. org/1999/ xhtml" xml:lang="en" lang="en"> <title> test</title> </head> javascript" >var foo = function () {alert('hello world');};</script>
<head>
<body>
<script type="text/
this line is weird after indent
</body>
</html>