To reproduce (on Mac), type “table” + tab. The table open & close tags gets created. Without moving the cursor, hit 2 returns then move up so the cursor is in the middle like so:
If you now type “tr” + tab, the
To reproduce (on Mac), type “table” + tab. The table open & close tags gets created. Without moving the cursor, hit 2 returns then move up so the cursor is in the middle like so:
If you now type “tr” + tab, the
Hi hcabbos,
I noticed the same bug but with a div-tag and a p-tag as a child - this seems to be reproducible with every html tag. My OS: Windows 7, Sublime Text V2. However, I had Ubuntu installed for a day and noticed that this bug doesn’t exist when using the Linux version of Sublime Text 2.
The bug can be described as follows:
Approach:
div [TAB] [ENTER] [CTRL+SHIFT+ENTER] lorem [TAB]
Expected:
<div>
Lorem ipsum...[CURSOR]
</div>
Result:
<div>
</div>[CURSOR]
Thanks in advance for dealing with a bugfix.
btw: You don’t have to delete the tag, just navigate to it once again and press tab.