class Phlex::SGML

def whitespace(&)

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

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