# File lib/premailer/adapter/nokogiri.rb, line 181 def to_s if is_xhtml? @doc.to_xhtml(:encoding => nil) else @doc.to_html(:encoding => nil) end end