class Roadie::UrlRewriter
def transform_element_style(element)
def transform_element_style(element) # We need to use a setter for Nokogiri to detect the string mutation. # If nokogiri used "dumber" data structures, this would all be redundant. css = element["style"] element["style"] = transform_css(css) end