-
Notifications
You must be signed in to change notification settings - Fork 16
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
Deminify js code in <script> tags. #2
Comments
This is a nice idea but it is quite tricky do do :( |
I guess so. :-( It would need to parse the stream and only pass what's between <script> and </script> to the beautifier. Or an alternate beautifier that doesn't mangle HTML code, which I am not aware of. |
Between < script > and </ script > I meant. |
this is true. sounds a bit easier than I thought it would be. i'll start work on it after i have closed off #3 |
hello, any news on this feature? :) |
Hello,
it would be nice if jsdeminifier could deminify js code in < script > tags inside text/html responses. I tried to add text/html to the list of supported mime types but it tries to deminify everything thus breaking the HTML.
The text was updated successfully, but these errors were encountered: