class Phlex::SGML
def __text__(content)
- Api: - private
def __text__(content) context = @_context return true if context.fragments && !context.in_target_fragment case content when String context.buffer << Phlex::Escape.html_escape(content) when Symbol context.buffer << Phlex::Escape.html_escape(content.name) when nil nil else if (formatted_object = format_object(content)) context.buffer << Phlex::Escape.html_escape(formatted_object) else return false end end true end