| Class | TagTreeScanner::TextNode |
| In: |
TagTreeScanner.rb
|
| Parent: | Object |
| info | [RW] | A hash which may be used to store ‘extra’ information |
| next_sibling | [RW] | The Tag or TextNode that comes after this one (may be nil) |
| parent_tag | [RW] | The Tag that is a parent of this TextNode (may be nil) |
| previous_sibling | [RW] | The Tag or TextNode that comes before this one (may be nil) |
| text | [RW] | The string contents of this text node |
| additional_text: | The text to add |
Appends the provided text to the end of the current text
Returns the new text value
Returns the contents of this node, modified to be made XML-safe by calling String#xmlsafe.