-
Notifications
You must be signed in to change notification settings - Fork 21
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
removeLinkTag should replace all occurences of the css chunk #10
Comments
Yes, we should. But seems that |
Doesn't hurt. Some folks like to use weird case for their tags. The html spec allows tag names and attribute names to be case-insensitive (at least the browsers don't seem to have issue with mixed case). HTH. |
@runjuu Any plans on doing a release with the fix any time soon? Thanks! |
@m5nv I'm sorry to have you keep waiting, 1.6.0 now is released. |
I hit on this while trying to get css preload to work in chrome and load normally in other browsers as suggested in a comment at SO.
The bug can be traced to this line.
The solution is to pass 'gi' parameter to RegExp object to find and 'remove' all occurrences of the chunk that needs to be inlined.
I fixed it locally and works for me. Cheers!
The text was updated successfully, but these errors were encountered: