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 269013

Summary: Formatting HTML does not indent code tags
Product: web Reporter: Fortron
Component: HTML EditorAssignee: Milutin Kristofic <mkristofic>
Status: RESOLVED WORKSFORME    
Severity: normal CC: junichi11
Priority: P3    
Version: 8.2   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:

Description Fortron 2016-11-17 08:59:52 UTC
While applying formatting on HTML, the code tag gets no indentation.
Example:

<figure>
<figcaption>Example 1</figcaption>
<pre>
<code>
My code example content
</code>
</pre>
</figure>
Comment 1 junichi11 2016-11-19 06:08:41 UTC
Probably, HTML area. Thanks.
Comment 2 Milutin Kristofic 2016-11-23 16:09:29 UTC
Code tag is not indent since it is in <pre> tag and you don't want to indent content of pre tag. 

I believe this is desired behavior.