vendor/bundle/ruby/2.1.0/gems/sanitize-2.1.0/lib/sanitize.rb
def clean_document(html)
    unless html.nil?
      clean_document!(html.dup) || html
    end
  end
# Returns a sanitized copy of the given full _html_ document.
Returns a sanitized copy of the given full _html_ document.
Returns a sanitized copy of the given full _html_ document .
def clean_document(html)
    unless html.nil?
      clean_document!(html.dup) || html
    end
  end
def clean_document ( html ) unless html . nil? clean_document! ( html . dup ) || html end end
Returns a sanitized copy of the given full _html_ document.
Returns a sanitized copy of the given full _html_ document .
html