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
ParseError: Unrecognised input in with « DIV { width: 500px\9 } » #2207
Comments
@harobed you should also be importing the source less inside bootstrap, not the output css |
@lukeapage there're a few reasons one may want to import compiled Bootstrap files and not its Less sources. In particular for the moment it's the only way to get bootstrap classes wrapped with namespace/prefix (e.g. |
Fair enough, @harobed may have a good reason to need to do it. |
However, it does parse with the unminified version... |
Tried and failed to get this working with anonymous value. I had this..
but then it changes the whitespace workings a bit. Also got the below, but that didn't work.
Hope that helps a future implementor (or myself if I pick it back up again) |
@lukeapage Would you clarify "@harobed you should also be importing the source less inside bootstrap, not the output css"? I'm new to Less and having the same issue with \9 in a WordPress Bootstrap theme I'm building. Is this a workaround? |
@harobed Bootstrap Less sources have only |
I see. My theme dev folder has two children, src and public. Bootstrap is at src/less/bootstrap with my custom Less files in src/less. From my theme dev folder, I compile with lessc src/less/style.less public/style.css This worked fine till recently. I installed clean-css, then uninstalled. Then compiling started throwing the error on \9. I worked with the npm folks and it appears I have a clean uninstall, so that shouldn't be the issue. Any ideas would be appreciated. |
The error message and the corresponding lines it points to are usually helpful. |
Yes, of course. Pardon the omission. I reinstated my most recent style.less and compiling is working again. Thank you for your time, @seven-phases-max. |
Now |
#1538 has been an issue for me while importing bootstrap4 css as less reference (bootstrap4 has no less dist any more). @import (less, reference) "~bootstrap/dist/css/bootstrap.css";
This really seems like a bug, any estimate when this could get a fix @seven-phases-max @lukeapage ? Thanks! |
Parsing success with :
ParseError: Unrecognised input in with :
You can found this syntax in https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css
The text was updated successfully, but these errors were encountered: