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 71598 - [indent] Wrong tags indentation
Summary: [indent] Wrong tags indentation
Status: VERIFIED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: HTML Editor (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Tomasz Slota
URL:
Keywords: TEST
Depends on:
Blocks:
 
Reported: 2006-01-19 14:07 UTC by Marek Fukala
Modified: 2009-05-18 10:47 UTC (History)
2 users (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 Marek Fukala 2006-01-19 14:07:55 UTC
The following html code is wrongly reformatted. Once the <script></script> line
is removed it works fine:

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="Content-Style-Type" content="text/css" >
    <script></script>
</head>
</html>
Comment 1 Marek Fukala 2006-01-19 14:21:51 UTC
I have created a new regression unit test for this issue currently failing:
org.netbeans.editor.ext.html.HTMLFormatterTest.testIssue71598
Comment 2 Jaroslav Tulach 2006-06-22 07:17:56 UTC
We shall not have failing tests in stable config, at least not in trunk. Can 
you please fix it? Or at least exclude from cfg-unit.xml?
Comment 3 Petr Jiricka 2006-06-22 19:14:39 UTC
I am not sure what is the status of this in trunk; this was originally filed
against 5.5. We do not do any development now in trunk, plan to fix in trunk
when the development focus moves to trunk.
Comment 4 Tomasz Slota 2006-07-19 15:23:41 UTC
fixed when introducing the new formatting engine. Now the sample after formatting looks like this:

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <meta http-equiv="Content-Style-Type" content="text/css" >
        <script></script>
    </head>
</html>
Comment 5 Jindrich Sedek 2006-07-26 09:52:00 UTC
Verified NetBeans 5.5Dev 200607260000