We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
i have a code in ejs template like following
<script> submitForm('form-group', '', '/<%- routeName %>'); $(window).keydown(function(event){ if((event.keyCode == 13)) { var eltarget = $(event.target); if(eltarget.attr("type") == "input") { event.preventDefault(); return false; } } }); $(".divlayout_id ").hide(); $("#layouts").on("change", function(){ if($(this).val() == 4) { $(".divlayout_id ").show(); } else { $(".divlayout_id ").hide(); } }) <% var layout = data.layouts == "4" ? `$(".divlayout_id ").show();` : `$(".divlayout_id ").hide();` %> <%- layout%> </script>
Error in console log
v7.2.0
Chrome
https://github.com/terser/html-minifier-terser
<script>submitForm("form-group","","/<%- routeName %>"),$(window).keydown((function(t){if(13==t.keyCode&&"input"==$(t.target).attr("type"))return t.preventDefault(),!1})),$(".divlayout_id ").hide(),$("#layouts").on("change",(function(){4==$(this).val()?$(".divlayout_id ").show():$(".divlayout_id ").hide()}))</script> <% var layout = data.layouts == "4" ? `$(".divlayout_id ").show();` : `$(".divlayout_id ").hide();` %>,<%- layout%>
Yes
The text was updated successfully, but these errors were encountered:
See #161 (comment)
Sorry, something went wrong.
No branches or pull requests
What happened?
i have a code in ejs template like following
Error in console log
Version
v7.2.0
What browsers are you seeing the problem on?
Chrome
Link to reproduce
https://github.com/terser/html-minifier-terser
Relevant log output
Willing to submit a PR?
Yes
The text was updated successfully, but these errors were encountered: