Skip to content

Commit

Permalink
Fix comments from resx
Browse files Browse the repository at this point in the history
  • Loading branch information
sailro committed Aug 18, 2024
1 parent 611cb62 commit a158f8d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Configuration/ConfigurationManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,8 @@ private static string Comment(string? value)

const string commentToken = "; ";

return commentToken + value!.Replace(Environment.NewLine, Environment.NewLine + commentToken);
const string resxNewLine = "\r\n";
return commentToken + value!.Replace(resxNewLine, resxNewLine + commentToken);
}

public static void SavePropertyValue(string filename, Feature feature, string propertyName)
Expand Down

0 comments on commit a158f8d

Please sign in to comment.