You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<!DOCTYPE html><htmllang="en"><head><title></title><metacharset="utf-8" /><script>
<!-- contents of bar.js -->
</script></head><body></body></html>
So my own inline script <script>var foo=null;</script> is gone after the inlining!
If I put the inline <script> and the script import in separate lines, it works correctly, but I'm using a html minifier as part of my pipeline, so I would really appreciate if it would also work in the case where everything is in one line!
The text was updated successfully, but these errors were encountered:
When I have multiple
<script>
tags in one line in the html file, the inline script is removed.E.g.:
When I run
grunt inline
, it turns into:So my own inline script
<script>var foo=null;</script>
is gone after the inlining!If I put the inline <script> and the script import in separate lines, it works correctly, but I'm using a html minifier as part of my pipeline, so I would really appreciate if it would also work in the case where everything is in one line!
The text was updated successfully, but these errors were encountered: