test inlining
This commit is contained in:
parent
42c3454094
commit
9c06142954
@ -34,9 +34,7 @@ function inlineScriptFromSrc($inputString) {
|
|||||||
|
|
||||||
// Minify the JavaScript content
|
// Minify the JavaScript content
|
||||||
$jsContent = minifyJs($jsContent);
|
$jsContent = minifyJs($jsContent);
|
||||||
|
return "<script>{$jsContent}</script>";
|
||||||
$escapedJsContent = htmlspecialchars($jsContent, ENT_QUOTES, 'UTF-8');
|
|
||||||
return "<script>{$escapedJsContent}</script>";
|
|
||||||
}, $inputString);
|
}, $inputString);
|
||||||
|
|
||||||
return $outputString;
|
return $outputString;
|
||||||
|
Loading…
Reference in New Issue
Block a user