Class: HTML5::XHTMLSerializer
- Inherits:
-
HTMLSerializer
- Object
- HTMLSerializer
- HTML5::XHTMLSerializer
- Defined in:
- lib/feed_tools/vendor/html5/lib/html5/serializer/xhtmlserializer.rb
Constant Summary collapse
- DEFAULTS =
{ :quote_attr_values => true, :minimize_boolean_attributes => false, :use_trailing_solidus => true, :escape_lt_in_attrs => true, :omit_optional_tags => false, :escape_rcdata => true }
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ XHTMLSerializer
constructor
A new instance of XHTMLSerializer.
Methods inherited from HTMLSerializer
#escape, serialize, #serialize, #serialize_error
Constructor Details
#initialize(options = {}) ⇒ XHTMLSerializer
Returns a new instance of XHTMLSerializer.
15 16 17 |
# File 'lib/feed_tools/vendor/html5/lib/html5/serializer/xhtmlserializer.rb', line 15 def initialize(={}) super(DEFAULTS.clone.update()) end |