高浩 created NETBEANS-4436:
----------------------------

             Summary: Format Code in HTML script block may fail when the type 
attribute value is "text/html"
                 Key: NETBEANS-4436
                 URL: https://issues.apache.org/jira/browse/NETBEANS-4436
             Project: NetBeans
          Issue Type: Bug
          Components: web - HTML Editor
    Affects Versions: 11.3, 12.0
            Reporter: 高浩
         Attachments: image-2020-06-13-02-53-43-819.png

Take this HTML code below for example:
{code:java}
<script id="template" type="text/html">
    <li>
        <div class="photo">
            <a href="#">
                <img src="#" />
            </a>
        </div>
        <div class="clear">
        </div>
    </li>
</script>{code}
If I paste this code into a HTML file, and save the file or format the file:

The code indentation is bad.

!image-2020-06-13-02-53-43-819.png!



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

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

Reply via email to