Tags inside .wrapAll()
DRon450 opened this issue · comments
What is this feature about (expected vs actual behaviour)?
Script like this:
<p>Text 1</p><script>$(".second-column-mobile-inner").wrapAll("<div class='collapse' id='second-column'></div>");</script><p>Text 2</p>
after HtmlMin turns into:
<p>Text 1</p><script>$(".second-column-mobile-inner").wrapAll("<div class='collapse' id='second-column'></script></div>");<p>Text 2</p>
How can I reproduce it?
Add this script anywhere:
<script>$(".second-column-mobile-inner").wrapAll("<div class='collapse' id='second-column'></div>");</script>
Does it take minutes, hours or days to fix?
I don't know
Any additional information?
Version 3.1.3 via composer
Php 7.0.28
Thanks for the bug report, fixed in version 3.1.6