Skip to content

Commit

Permalink
Sync classes (#16)
Browse files Browse the repository at this point in the history
Sync classes from WordPress.org repository.
  • Loading branch information
tfirdaus authored Jun 9, 2024
1 parent ce866be commit a78b4ad
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/Parser.php
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,6 @@ protected function parse_readme_contents($contents)
while (( $line = array_shift($contents) ) !== null) {
$trimmed = trim($line);
if (empty($trimmed)) {
$this->short_description .= "\n";
continue;
}

Expand All @@ -405,7 +404,7 @@ protected function parse_readme_contents($contents)
break;
}

$this->short_description .= $line . "\n";
$this->short_description .= $line . ' ';
}

$this->short_description = trim($this->short_description);
Expand Down

0 comments on commit a78b4ad

Please sign in to comment.