Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error when inner comments #56

Open
temuera opened this issue Mar 1, 2021 · 3 comments
Open

error when inner comments #56

temuera opened this issue Mar 1, 2021 · 3 comments
Assignees
Labels
Type: Bug Something isn't working as expected.

Comments

@temuera
Copy link

temuera commented Mar 1, 2021

eg:

<script>
    function test($targetForm, data) {
        $.map(data, function (value, key) {
            if (key == "A") {
                alert('A')
            };
            // if (key == "B") {
            // }
        });
    }
</script>

will get the code:

<script>function test($targetForm, data){ $.map(data, function (value, key){ if (key=="A"){ alert('A')}; // if (key=="B"){ //}});} </script>

@Josee9988
Copy link
Owner

Is this minified as JS right?

@temuera
Copy link
Author

temuera commented Mar 1, 2021

HTML included script block.

@Josee9988
Copy link
Owner

Script or Style blocks inside an HTML page are not supported yet. Sorry for the inconvenience

@Josee9988 Josee9988 transferred this issue from Josee9988/MinifyAll Mar 1, 2021
@settings settings bot removed bug labels May 31, 2021
@Josee9988 Josee9988 added the Type: Bug Something isn't working as expected. label May 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Something isn't working as expected.
Projects
None yet
Development

No branches or pull requests

2 participants