mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05:00
ecf3cd514f
Instead of maintaing a list of all CSS units and functions this commit: * Uses 3 regexps to detect typed CSS values (e.g. `24px`) + properly handle numeric Go types. * These regexps may have some false positives -- e.g. strings that needs to be quoted. * For that rare case, you can mark the string with e.g. `"32xxx" | css.Quoted` * For the opposite case: `"32" | css.Unquoted` Updates #10632 |
||
---|---|---|
.. | ||
css | ||
hstring | ||
convert.go | ||
convert_test.go | ||
evictingqueue.go | ||
evictingqueue_test.go | ||
types.go | ||
types_test.go |