method

new

v2.1.0 - Show latest stable - Class: HTML::Text
new(parent, line, pos, content)
public

Creates a new text node as a child of the given parent, with the given content.