Class: HTML::CDATA

Inherits:
Text show all
Defined in:
lib/rails/deprecated_sanitizer/html-scanner/html/node.rb

Overview

A CDATA node is simply a text node with a specialized way of displaying itself.

Instance Attribute Summary

Attributes inherited from Text

#content

Attributes inherited from Node

#children, #line, #parent, #position

Instance Method Summary collapse

Methods inherited from Text

#==, #find, #initialize, #match

Methods inherited from Node

#==, #find, #find_all, #initialize, #match, parse, #tag?, #validate_conditions

Constructor Details

This class inherits a constructor from HTML::Text

Instance Method Details

#to_sObject

:nodoc:



269
270
271
# File 'lib/rails/deprecated_sanitizer/html-scanner/html/node.rb', line 269

def to_s
  "<![CDATA[#{super}]]>"
end