Skip to content

Commit 201ffd7

Browse files
hishamcoCopilot
andauthored
Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 8e326d9 commit 201ffd7

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/OrchardCoreContrib.PoExtractor/PoWriter.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ private static string Escape(string text)
103103
sb.Replace("\\", "\\\\"); // \ -> \\
104104
sb.Replace("\"", "\\\""); // " -> \"
105105
sb.Replace("\r\n", "\\r\\n");
106+
sb.Replace("\r", "\\r");
106107
sb.Replace("\n", "\\n");
107108

108109
return sb.ToString();

0 commit comments

Comments
 (0)