XML::Text escapes Javascript when it shouldn't
Example:
$ pry -r oga
2.2.0p0 > element = Oga::XML::Element.new(:name => 'script')
=> Element(name: "script")
2.2.0p0 > element.inner_text = '10 > 20'
=> "10 > 20"
2.2.0p0 > element.to_xml
=> "<script>10 > 20</script>"
In case of <script>
tags the output should not be escaped as this would produce invalid Javascript.