diff --git a/core/lib/Drupal/Component/Gettext/PoHeader.php b/core/lib/Drupal/Component/Gettext/PoHeader.php index a45382ad14..307fd15d52 100644 --- a/core/lib/Drupal/Component/Gettext/PoHeader.php +++ b/core/lib/Drupal/Component/Gettext/PoHeader.php @@ -255,7 +255,7 @@ private function parseHeader($header) { foreach ($lines as $line) { if ($line) { list($tag, $contents) = explode(":", $line, 2); - $header_parsed[trim(ltrim($tag,'"'))] = trim(rtrim($contents,'"\n')); + $header_parsed[trim(ltrim($tag, '"'))] = trim(rtrim($contents, '"\n')); } } return $header_parsed;