This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 257677

Summary: Incorrect automatic indentation when typing script tag.
Product: web Reporter: Echo89
Component: HTML EditorAssignee: Milutin Kristofic <mkristofic>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: Macintosh   
OS: Mac OS X   
Issue Type: DEFECT Exception Reporter:
Attachments: Screenshot of error.

Description Echo89 2016-01-22 13:17:56 UTC
Created attachment 158220 [details]
Screenshot of error.

Hi,

When writing HTML, specifically a script tag, when typing the '>' character on the closing script tag, the closing script tag's indentation is incorrectly set. See the screenshot, taken directly after I typed the '>' on the closing script tag.
Comment 1 Milutin Kristofic 2016-07-16 09:21:58 UTC
Hi, I am sorry for this late response. I cannot reproduce this behavior. Do you have some options changed from default. It should autoclose by default, you at least need to press enter it just offer completion and this completion is added on the same line. 

Also can you send sample file, where I can encounter. It can be caused by nonstandard elements in the beginning of file.

Thanks.