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 254549 - Autoformat (source->format) breaks classes inside angularjs expression
Summary: Autoformat (source->format) breaks classes inside angularjs expression
Status: RESOLVED DUPLICATE of bug 251057
Alias: None
Product: web
Classification: Unclassified
Component: AngularJS (show other bugs)
Version: 8.0.2
Hardware: Macintosh Mac OS X
: P3 normal (vote)
Assignee: Roman Svitanic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-20 09:38 UTC by Dmitrysh
Modified: 2015-08-27 06:33 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 Dmitrysh 2015-08-20 09:38:17 UTC
Steps to reproduce:

1. Open netbeans 8.0.2 for mac. In my case, I have PHP edition.

2. Create a new empty html file with the following:
<i class="fa" ng-class="somethingHere ? 'fa-star' : 'fa-star-o'"></i>

3. Go to the Source->format

it will produce:
<i class="fa" ng-class="somethingHere ? 'fa-star' : 'fa - star - o'"></i>


So for some reasons fa-star-o replaced with fa[space]-[space]star[space]-[space]o
Comment 1 Roman Svitanic 2015-08-27 06:33:26 UTC

*** This bug has been marked as a duplicate of bug 251057 ***