Home Download Buy Blog Forum Support

html indenting is not smart

html indenting is not smart

Postby slhuddev on Fri Feb 03, 2012 10:02 am

Frequently when I am writing html, I write the opening and closing tags like this:

Then I hop up one line and press enter to give me a blank line between the two tags. I don't expect the (any) editor to be able to scan back 400 lines looking for the opening tag, and by doing this I always ensure I have the closure required. What I actually get is this:
Code: Select all

I then backdent the offending closure and go and create my blank line between. If I write a closure on the nicely indented line between, it backdents the closure:


After some experimentation, I have found that the following is true, and results in the error:
1.Create a line with an opening tag
2. on the next line, create any closing tag
You can create as many blank lines after the opening tag as you like, and the closure still fails. If you enter any text on lines between the opening and closure tag, the closure is properly backdented.
Posts: 1
Joined: Fri Feb 03, 2012 9:38 am

Re: html indenting is not smart

Postby scifi on Mon Feb 06, 2012 4:55 am

Same here- build 2165
Posts: 3
Joined: Sun Feb 05, 2012 11:32 pm

Return to Technical Support

Who is online

Users browsing this forum: Yahoo [Bot] and 24 guests