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

Protecting copyright notices in CSS. #92

Closed
t32k opened this issue Oct 17, 2012 · 5 comments
Closed

Protecting copyright notices in CSS. #92

t32k opened this issue Oct 17, 2012 · 5 comments

Comments

@t32k
Copy link
Contributor

t32k commented Oct 17, 2012

When the first letter of a comment is !, I want CSSO to always output the comment.
Because of adding copyright notices.

Such as a Sass comment.
http://sass-lang.com/docs/yardoc/file.SASS_REFERENCE.html#comments

@afelix
Copy link
Contributor

afelix commented Oct 17, 2012

It makes sense, thank you. But by technical reasons it will be possible to preserve only first such comment. I mean this:
Before CSSO compression:

/* ok, that's my copyright */
.. CSS ..
/* will be removed */
.. CSS ..

After:

/* ok, that's my copyright */
.. CSS .. .. CSS ..

@t32k
Copy link
Contributor Author

t32k commented Oct 17, 2012

OK, Thank you. Keep up the good work :)

@t32k t32k closed this as completed Oct 17, 2012
@css
Copy link
Collaborator

css commented Oct 28, 2012

Please, don't close this issue. It is not done yet.

@css css reopened this Oct 28, 2012
@t32k
Copy link
Contributor Author

t32k commented Oct 28, 2012

Thanks!

@css
Copy link
Collaborator

css commented Oct 28, 2012

Fixed in 1.3.5.

@css css closed this as completed Oct 28, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants