Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tags inside .wrapAll() #30

Closed
DRon450 opened this issue Jan 22, 2019 · 1 comment
Closed

Tags inside .wrapAll() #30

DRon450 opened this issue Jan 22, 2019 · 1 comment

Comments

@DRon450
Copy link

DRon450 commented Jan 22, 2019

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

@voku
Copy link
Owner

voku commented Mar 4, 2019

Thanks for the bug report, fixed in version 3.1.6

@voku voku closed this as completed Mar 4, 2019
voku added a commit that referenced this issue Mar 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants