You're right Serializer.rb:120

That means this can be removed, and xhtml.rb:195 can be removed