(Changed in version 2.9.0) The p0
call-by-name arguments is evaluated at most once per constructed Parser object, instead of on every need that arises during parsing.
(Since version 3.0) Please use fixCss instead; we are unifying capitalization across Lift.
Utility for prefixing root-relative
url
s in CSS with a given prefix. Typically used to prefix root-relative CSSurl
s with the application context path.After creating the prefixer with the prefix you want to apply to root-relative paths, call
fixCss
with a CSS string to return a fixed CSS string.