class Phlex::HTML

def content_type

def content_type
	"text/html"
end

def doctype

Output an HTML doctype.
def doctype
	context = @_context
	return if context.fragments && !context.in_target_fragment
	context.buffer << "<!doctype html>"
	nil
end

def filename

def filename
	nil
end

def svg(...)

Other tags:
    See: https://developer.mozilla.org/docs/Web/SVG/Element/svg -

Returns:
  • (nil) -
def svg(...)
	if block_given?
		super do
			render Phlex::SVG.new do |svg|
				yield(svg)
			end
		end
	else
		super
	end
end