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

Minifying strings containing */* in debug mode fails #222

Closed
mrclay opened this issue Sep 4, 2015 · 2 comments
Closed

Minifying strings containing */* in debug mode fails #222

mrclay opened this issue Sep 4, 2015 · 2 comments

Comments

@mrclay
Copy link
Owner

mrclay commented Sep 4, 2015

Originally reported on Google Code with ID 77

Minify version: 2.1.1
PHP version: any

Lines containing /* in a string will cause following lines to be commented
out in debug mode.  For example:

var example = '*/*';
alert( 'this line will be commented out in debug mode' );

What steps will reproduce the problem?
1. Download the latest version of Prototype.js (1.6)
2. Add it to a page as part of a group with &debug=true
3. Look at line 1257.  See that that line has been commented out.

Reported by cneubauer on 2009-01-20 19:48:04

@mrclay
Copy link
Owner Author

mrclay commented Sep 4, 2015

This was fixed in R275. Replacing Lines.php is all you should need.

Reported by mrclay.org on 2009-01-21 00:15:33

@mrclay
Copy link
Owner Author

mrclay commented Sep 4, 2015

Thanks.  I apparently fail at searching.

Reported by cneubauer on 2009-01-21 01:44:00

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant