require 'rails_helper'
require 'html_normalize'
describe HtmlNormalize do
def n(html)
HtmlNormalize.normalize(html)
end
it "handles attributes without values" do
expect(n "").to eq("
")
end
it "handles self closing tags" do
source = <<-HTML