zoffixznet / JavaScript-Minifier

JavaScript::Minifier perl module
9 stars 6 forks source link

Minification is corrupting the code #10

Closed ymyasoedov closed 3 years ago

ymyasoedov commented 3 years ago

This bug was found while trying to run minification for CKEditor js file (https://github.com/znuny/Znuny/blob/c149064d63e0f8dd1a0b29153e4987caf715a0eb/var/httpd/htdocs/js/thirdparty/ckeditor-4.15.1/ckeditor.js#L1135) JavaScript::Minifier parses the line specified above as a comment and resulting file will contain corrupted javascript code.