module ActionText::HtmlConversion

def document

def document
  ActionText.html_document_class.new.tap { |doc| doc.encoding = "UTF-8" }
end