Javascript block comment inside HTML is incorrect



  • Hi,

    Given the code below, when i select the Javascript block and click Block Comment from the context menu, it uses HTML-style comment instead.

    <html>
        <head>
        </head>
        <body>
            <p>My text.</p>
            <script type="text/javascript">
                <!-- function foo() {
                    
                } -->
            </script>
        </body>
    </html>
    

    Debug info:

    Notepad++ v6.8.8
    Build time : Dec 10 2015 - 01:11:37
    Path : C:\Program Files (x86)\Notepad++\notepad++.exe
    Admin mode : OFF
    Local Conf mode : OFF
    OS : Windows 10
    Plugins : ColorPicker.dll mimeTools.dll NppConverter.dll NppExec.dll NppExport.dll NppTextFX.dll PluginManager.dll XMLTools.dll


Log in to reply