mirror of
https://github.com/real-zony/ZonyLrcToolsX.git
synced 2026-11-01 00:42:12 +08:00
feat: Support newline configuration.
实装换行符配置项。
This commit is contained in:
1 parent
ed65790c43
commit
134d7eb5a0
2 files changed
+27
-2
No files matched your search
@@ -104,8 +104,8 @@ namespace ZonyLrcTools.Cli.Infrastructure.Lyric
|
||||
public override string ToString()
|
||||
{
|
||||
var lyricBuilder = new StringBuilder();
|
||||
ForEach(lyric => lyricBuilder.Append(lyric).Append("\r\n"));
|
||||
return lyricBuilder.ToString().TrimEnd("\r\n");
|
||||
ForEach(lyric => lyricBuilder.Append(lyric).Append(Option.LineBreak));
|
||||
return lyricBuilder.ToString().TrimEnd(Option.LineBreak);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user