class Phlex::SGML
def raw(content)
def raw(content) case content when Phlex::SGML::SafeObject context = @_context return if context.fragments && !context.in_target_fragment context.buffer << content.to_s when nil, "" # do nothing else raise Phlex::ArgumentError.new("You passed an unsafe object to `raw`.") end nil end