cleanCssValue: Cleans up a CSS attribute value.

View source: R/styleParsing.R

cleanCssValueR Documentation

Cleans up a CSS attribute value.

Description

cleanCssValue is a utility function that performs some basic cleanup on CSS attribute values. Leading and trailing whitespace is removed. The CSS values "initial" and "inherit" are blocked. The function is vectorised so can be used with arrays.

Usage

cleanCssValue(cssValue)

Arguments

cssValue

The value to cleanup.

Value

The cleaned value.


pivottabler documentation built on Oct. 1, 2023, 5:07 p.m.