Skip to content

Commit 51fb2ab

Browse files
authored
Merge pull request #226 from vaites/po_line_breaks
Added \r to \Gettext\Generators\Po::convertString()
2 parents 241899f + 1dfdfa9 commit 51fb2ab

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/Generators/Po.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ public static function convertString($value)
136136
"\x00" => '',
137137
'\\' => '\\\\',
138138
"\t" => '\t',
139+
"\r" => '\r',
139140
"\n" => '\n',
140141
'"' => '\\"',
141142
]

0 commit comments

Comments
 (0)