mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-20 06:32:56 +00:00
Skip first whitespace only lines (#56534)
Parser won't crash on first empty lines anymore.
This commit is contained in:
@@ -745,6 +745,8 @@ function checkchangelog($payload, $compile = true) {
|
||||
}
|
||||
|
||||
if (!strlen($firstword)) {
|
||||
if (count($currentchangelogblock) <= 0)
|
||||
continue;
|
||||
$currentchangelogblock[count($currentchangelogblock)-1]['body'] .= "\n";
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user