Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-147

Content in string literals are formatted by Format

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Cannot Reproduce
    • 8.2, 10.0
    • None
    • web - HTML Editor

    Description

      When formatting a 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.

       

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            gugrim Gunnar Grim
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: