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

Chained nots don't work #99

Closed
Xodarap opened this issue Dec 1, 2014 · 1 comment
Closed

Chained nots don't work #99

Xodarap opened this issue Dec 1, 2014 · 1 comment
Labels

Comments

@Xodarap
Copy link

Xodarap commented Dec 1, 2014

document = Roadie::Document.new "<html><body></body></html>"
document.add_css "body:not(:first-child):not(:last-child) { width:auto; }"
document.transform
# => Roadie cannot use "body:not(:first-child):not(:last-child)" (from "(Document styles)" stylesheet) when inlining stylesheets

I'm pretty sure the issue issue here is chained nots.

Nokogiri 1.6.0, roadie-rails 1.0.3 (roadie 3.0.1).

@Mange
Copy link
Owner

Mange commented Dec 1, 2014

This is a Nokogiri bug. I tried fixing it before, but maybe it doesn't work like it should. A lot of comments seem to imply that anyway.

@Mange Mange closed this as completed Dec 1, 2014
@Mange Mange added the invalid label Dec 1, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants