oga/lib
Yorick Peterse 886a160c6a
Strip leading/trailing whitespace from CSS exprs
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
2018-01-04 22:02:50 +01:00
..
oga Strip leading/trailing whitespace from CSS exprs 2018-01-04 22:02:50 +01:00
oga.rb Make XmlDeclaration a ProcessingInstruction 2016-09-17 14:39:07 +02:00