[ https://issues.apache.org/jira/browse/NETBEANS-4436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17280302#comment-17280302 ]
Tomáš Procházka commented on NETBEANS-4436: ------------------------------------------- Reproducible also in NetBeans 12.3 beta2. Ending {{</script>}} should be indented by one more space and also whole content of {{<script>}} too. Thank you for the report. > 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: editor - Formatting & Indentation, web - HTML Editor > Affects Versions: 12.0, 11.3, 12.3 > Reporter: KoKo > Priority: Major > 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: 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