class Phlex::SGML

def plain(content)

Returns:
  • (nil) -
def plain(content)
	case content
	when String
		@_target << ERB::Escape.html_escape(content)
	when Symbol
		@_target << ERB::Escape.html_escape(content.name)
	when Integer
		@_target << ERB::Escape.html_escape(content.to_s)
	when nil
		nil
	else
		if (formatted_object = format_object(content))
			@_target << ERB::Escape.html_escape(formatted_object)
		end
	end
	nil
end