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 - Formatting HTML does not indent code tags
Summary: Formatting HTML does not indent code tags
Status: RESOLVED WORKSFORME
Alias: None
Product: web
Classification: Unclassified
Component: HTML Editor (show other bugs)
Version: 8.2
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-17 08:59 UTC by Fortron
Modified: 2016-11-23 16:09 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.