collective/collective.newrelic — pull request #16 by thepjot (2014-05-28 09:09:04+00:00)
Title: Possible fix for injected scripts

etree.HTML yields a complete HTML etree element.

| -HTML
| - - head
| - - - Script

Which breaks in IE (among others)

Using etree.html.fragment_fromstring yields:
|- script

Which is what we need and want :)