Files
Govor/Govor.Application/Services/SynchingService.cs
T
2026-02-08 22:30:29 +07:00

20 lines
432 B
C#

using Govor.Application.Interfaces;
namespace Govor.Application.Services;
public class SynchingService : ISynchingService
{
public string NormalizeNewlines(string input)
{
if (string.IsNullOrEmpty(input))
{
return input;
}
string normalized = input.Replace("\r\n", "\n");
normalized = normalized.Replace('\r', '\n');
return normalized;
}
}