We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
str-index
null
0
Shouldn't both be false?
false
// input .test { index: index(one two three, four); str-index: str-index('one two three', 'four'); } // output .test { index: false; str-index: 0; }
The text was updated successfully, but these errors were encountered:
Really it should return null, as per #832. I'll edit the issue title to reflect that.
It's a good thing you found this before 3.3 was released; it would be really hard to change this behavior later without breaking a bunch of people.
Sorry, something went wrong.
Just ran into this myself 👍
Make str-index return null rather than 0 for a missing substring.
b73c113
Closes #1060
fix(precision): update function to work properly with 3.3
70d3a0c
Addresses a TODO item that was blocked on a Sass bug sass/sass#1060
No branches or pull requests
Shouldn't both be
false
?The text was updated successfully, but these errors were encountered: