Skip to content

Commit

Permalink
Merge branch 'release/1.0.0' of github.com:PhileCMS/Phile into releas…
Browse files Browse the repository at this point in the history
…e/1.0.0
  • Loading branch information
NeoBlack committed Apr 28, 2014
2 parents 7c178df + 5a66571 commit 68f63a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/phile/parserMeta/Classes/Parser/Meta.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public function parse($rawData) {
$result = array();
foreach ($headers as $line) {
$parts = explode(':', $line, 2);
$key = strtolower(array_shift($parts));
$key = preg_replace('/[^\w+]/', '_', strtolower(array_shift($parts))); // replace all special characters with underscores
$val = implode($parts);
$result[$key] = trim($val);
}
Expand Down

0 comments on commit 68f63a5

Please sign in to comment.