-
-
Notifications
You must be signed in to change notification settings - Fork 608
css-loader incorrectly process escaped characters within the content CSS property #87
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
Comments
Also note that I'm not sure if shorthand escape codes are valid in CSS so that might be a bug in Twitter Bootstrap instead. |
I imagine this is from master? If this is from 0.15.1, it might already be fixed. See #79. There has been no new tag since. |
@markdalgleish I get version of |
I got this to work by changing css-selector-tokenizer/parseValues.js, line 26. Although rather than edit the library, it's probably easier to override glyphicon-asterisk and glyphicon-plus. These work fine:
|
I'd rather make sure |
Oh, definitely fix the loader. I was just going to use the second fix until the pull request is closed. I spent way too much time today thinking I wasn't loading fonts correctly... |
@sokra I am still having this issue, even though I've got |
Repro: https://gist.github.com/andreypopp/e3a8f338d21b1b4eebd2
Bootstrap has the following glyphicon class definition,
bootstrap/dist/css/bootstrap.css
:which is processed by webpack into
bundle.js
:So instead of the icon I see "2b" in the browser.
Note that other icons with escape codes like:
are processed just fine.
The text was updated successfully, but these errors were encountered: