Commit ca404170 authored by Mike Greiling's avatar Mike Greiling

exclude script type=text/template from dom scrubbing

parent 313aa339
......@@ -34,7 +34,7 @@ module JavaScriptFixturesHelpers
link_tags = doc.css('link')
link_tags.remove
scripts = doc.css('script')
scripts = doc.css("script:not([type='text/template'])")
scripts.remove
fixture = doc.to_html
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment