Open Boscop opened 7 years ago
When I have multiple <script> tags in one line in the html file, the inline script is removed. E.g.:
<script>
<!DOCTYPE html> <html lang="en"> <head> <title></title> <meta charset="utf-8" /> <script>var foo=null;</script><script src="bar.js"></script> </head> <body> </body> </html>
When I run grunt inline, it turns into:
grunt inline
<!DOCTYPE html> <html lang="en"> <head> <title></title> <meta charset="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 Githubissues.
<script>var foo=null;</script>
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 Githubissues.