This fixes a bug in the get_length_value_unit() util function that doesn't take into account CSS length values that have fractional parts. The regex patterns now consider the presence of a . in the value part. Several testthat tests were added to ensure that the changes now work with CSS lengths such as "0.563em".
This fixes a bug in the
get_length_value_unit()
util function that doesn't take into account CSS length values that have fractional parts. The regex patterns now consider the presence of a.
in the value part. Several testthat tests were added to ensure that the changes now work with CSS lengths such as"0.563em"
.Fixes #73 Fixes #66