class Phlex::SGML

def whitespace(&block)

Other tags:
    Yield: - If a block is given, it yields the block with no arguments.

Returns:
  • (nil) -
def whitespace(&block)
	context = @_context
	return if context.fragments && !context.in_target_fragment
	buffer = context.buffer
	buffer << " "
	if block_given?
		yield_content(&block)
		buffer << " "
	end
	nil
end