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.
Create an html file with this content <select ng-options="equipmentGroup.id as equipmentGroup.name | uppercase for equipmentGroup in equipmentGroups"> </select> Then apply the auto format (alt-shift-f). The formatter inserts an extra space after the pipe and will insert another space every time the code is reformatted, eventually looking like this or worse: <select ng-options="equipmentGroup.id as equipmentGroup.name | uppercase for equipmentGroup in equipmentGroups"> </select> Expected result is to reformat once and put one space before and after pipe, then no further changes.
Same happened for me with the following code: <select data-ng-options="person as (person.firstName + ' ' + person.lastName) for person in persons"></select> Spaces are added after the two '+' characters every time I autoformat.