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

patch for <link> support #5

Open
neshte opened this issue Jun 19, 2012 · 0 comments
Open

patch for <link> support #5

neshte opened this issue Jun 19, 2012 · 0 comments

Comments

@neshte
Copy link

neshte commented Jun 19, 2012

I added this patch on line 441 to add support for "link" tag

if(link.getAttribute("media").replace(/^\s\s_/, '').replace(/\s\s_$/, '') != ""){ text = "@media " + link.getAttribute("media").replace(/^\s\s_/, '').replace(/\s\s_$/, '') + "{" + text + "}"; }

has not been fully tested, it worked for me, something similar could be added for "style" tag.

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

1 participant