Skip to content

Commit

Permalink
Add slashes to localization values
Browse files Browse the repository at this point in the history
This fixes #53
  • Loading branch information
kix committed Apr 20, 2016
1 parent f6e0aa7 commit 1835c92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Passbook/Pass/Localization.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public function getStringsFileOutput()
{
$output = '';
foreach ($this->strings as $token => $value) {
$output .= '"' . $token . '" = "' . $value . '";' . PHP_EOL;
$output .= '"' . addslashes($token) . '" = "' . addslashes($value) . '";' . PHP_EOL;
}

return $output;
Expand Down

0 comments on commit 1835c92

Please sign in to comment.