Closed hetsch closed 7 years ago
Yes, the documentation is correct. It should work like it says there. Looking at the tests for this plugin, there are not any for this feature. However, the useref module does have tests and they all pass when you run them.
https://github.com/jonkemp/useref/blob/master/test/test.js
So I'm at a loss to explain why it doesn't work. Maybe we could write a test for the gulp plugin and see if that works.
@jonkemp Sorry for the late response. All is good now. It seems that I had some quirks with my modules and installed them fresh. Problem solved and I close the ticket. Thank you for your help and time!
Wether I've missed some important parts of the documentation but if have a code like
I would expect that the
<script>*</script>
tag is entirely removed from the resulting output html. What happens here is that only the comment tags are removed, leaving thescript
tag behind in the markup.I've debugged it with the following code:
Is this behavior intended and do I have to write my own block handler for this? Thank's for your help!