class Roadie::Document
def transform
-
(String)
- the transformed HTML
Other tags:
- See: #transform_partial - Transforms partial documents (fragments)
See: UrlRewriter - UrlRewriter (rewrites URLs and makes them absolute)
See: Inliner - Inliner (inlines the stylesheets)
See: MarkupImprover - MarkupImprover (improves the markup of the DOM)
def transform dom = Nokogiri::HTML.parse html callback before_transformation, dom improve dom inline dom, keep_uninlinable_in: :head rewrite_urls dom callback after_transformation, dom remove_ignore_markers dom serialize_document dom end