When tokenising CSS expressions we now strip leading and trailing whitespace from the input string. This is performed without any checks as a check + `String#strip` ended up being slower compared to just running `String#strip`. On top of that we cache expressions anyway, so the overhead of `String#strip` is very small. Fixes https://gitlab.com/yorickpeterse/oga/issues/187 |
||
|---|---|---|
| .. | ||
| oga | ||
| support | ||
| spec_helper.rb | ||