We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69ed5a1 commit f2ac744Copy full SHA for f2ac744
src/htmldoc/tokens/script.php
@@ -59,7 +59,7 @@ public function parse(array &$tokens) : void {
59
public function minify(array $minify) : void {
60
if ($minify['js'] !== false && $this->content) {
61
$func = $this->root->getConfig('js');
62
- $this->content = $func === false ? trim($this->content) : call_user_func($func, $this->content, $minify['js']);
+ $this->content = $func === null ? trim($this->content) : call_user_func($func, $this->content, $minify['js']);
63
}
64
65
0 commit comments