Sublime Forum

ST3: Odd indentation behaviour when editing HTML

#1

Hi there

I’ve noticed some odd indentation behaviour happening when editing HTML.

I’ll start by entering the following HTML, and my cursor (|) will be properly indented with 1 tab character:

[code]


|
[/code]

Now when I type a character, the cursor will jump back to the starting position of the enclosing tag:

[code]


|A
[/code]

Why does it do this? I’ve looked for settings to control this, without any luck. Does anyone know how I change this behaviour, to prevent the cursor from un-indenting when editing HTML?

Many thanks for any suggestions.

0 Likes