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 6b663f7 commit e54c3d9Copy full SHA for e54c3d9
1 file changed
build/builder.php
@@ -16,7 +16,7 @@
16
return trim($line);
17
}, explode("\n", $text, 3));
18
19
- $hints[] = '$hints[] = [' . var_export($category, true) . ', ' . var_export($author, true) . ', "' . strtr($body, ["\r\n" => '\n', "\n" => '\n', "\t" => '\t', "\"" => '\"', "'" => '\'']) . '"];';
+ $hints[] = '$hints[] = [' . var_export($category, true) . ', ' . var_export($author, true) . ', "' . strtr(trim($body), ["\r\n" => '\n', "\n" => '\n', "\t" => '\t', "\"" => '\"', "'" => '\'']) . '"];';
20
}
21
22
$body = file_get_contents(__DIR__ . '/../index.php.src');
0 commit comments