oga/spec/oga
Tero Tasanen 0b4791b277 Ability to replace a node with another node or string
```
element = Oga::XML::Element.new(:name => 'div')
some_node.replace(element)
```

You can also pass a `String` to  `replace` and it will be replaced with
a `Oga::XML::Text` node

```
some_node.replace('this will replace the current node with a text node')
```

closes #115
2015-06-17 21:27:50 +03:00
..
css Added CSS/XPath Parser.parse_with_cache 2015-03-23 00:22:59 +01:00
html Support HTML attributes without starting quotes 2015-06-08 06:46:08 +02:00
xml Ability to replace a node with another node or string 2015-06-17 21:27:50 +03:00
xpath Ignore declared namespaces in HTML documents 2015-03-26 22:38:39 +01:00
blacklist_spec.rb Added Blacklist/Whitelist classes 2015-05-17 21:55:06 +02:00
entity_decoder_spec.rb Added Oga::EntityDecoder 2015-04-07 21:18:15 +02:00
lru_spec.rb Added LRU#maximum=/maximum 2015-03-23 00:26:48 +01:00
oga_spec.rb Support for strict parsing of XML documents 2015-06-15 23:53:11 +02:00
whitelist_spec.rb Added Blacklist/Whitelist classes 2015-05-17 21:55:06 +02:00