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

Format Code in HTML script block may fail when the type attribute value is "text/html"

    XMLWordPrintableJSON

Details

    Description

      Take this HTML code below for example:

      <script id="template" type="text/html">
          <li>
              <div class="photo">
                  <a href="#">
                      <img src="#" />
                  </a>
              </div>
              <div class="clear">
              </div>
          </li>
      </script>

      If I paste this code into a HTML file, and save the file or format the file:

      The code indentation is bad.

      Attachments

        Activity

          People

            Unassigned Unassigned
            humphrey gao KoKo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: