[ 
https://issues.apache.org/jira/browse/NETBEANS-147?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alexander Schreiner updated NETBEANS-147:
-----------------------------------------
    Description: 
When formatting an HTML page/PHP file, string literal content is formatted.

Before formatting I had this attribute on a div in an Agular view:

ng-class="($first ? '' : 'hidden-xs hidden-sm')"

After formatting, NetBeans changed it into this:

ng-class="($first ? '' : 'hidden - xs hidden - sm')"

This is pretty serious IMO since the page presentation is messed up by 
incorrect classes.





 

 

  was:
When formatting an HTML page, string literal content is formatted.

Before formatting I had this attribute on a div in an Agular view:

ng-class="($first ? '' : 'hidden-xs hidden-sm')"

After formatting, NetBeans changed it into this: 

ng-class="($first ? '' : 'hidden - xs hidden - sm')"

This is pretty serious IMO since the page presentation is messed up by 
incorrect classes.


> Content in string literals are formatted by Format
> --------------------------------------------------
>
>                 Key: NETBEANS-147
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-147
>             Project: NetBeans
>          Issue Type: Bug
>          Components: cnd - Editor
>    Affects Versions: 8.2, 10.0
>            Reporter: Gunnar Grim
>            Priority: Critical
>              Labels: format, html
>
> When formatting an HTML page/PHP file, string literal content is formatted.
> Before formatting I had this attribute on a div in an Agular view:
> ng-class="($first ? '' : 'hidden-xs hidden-sm')"
> After formatting, NetBeans changed it into this:
> ng-class="($first ? '' : 'hidden - xs hidden - sm')"
> This is pretty serious IMO since the page presentation is messed up by 
> incorrect classes.
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to