Sublime Forum

Html auto indent

#1

hello, autoindent is not working for HTML? or am i missing something?

[code]

| (cursor is here. pressing Enter)
[/code]

here what i get

[code]

|
[/code]

but it should be like that

[code]<html>
<head>
	<title></title>
</head>
<body>
<div>
    |
</div>
</body>
</html>[/code]
0 Likes

#2

so no fix for my problem? :frowning:

0 Likes

#3

In theory if you indent the “title” tag in that way you should indent that div too. When that div is indented, *indentation *works correctly.

0 Likes

#4

Nope.

0 Likes

#5

tito, the title tag intented because html page was a template. i didn’t write the basic html tags myself.

0 Likes

#6

screenr.com/bq0s

so, no solution for this show-stopper bug or am i missing something? :angry:

0 Likes

#7

Thank you, installed ZenCoding

0 Likes