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