mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-03-30 02:15:30 +00:00
Escape markup in CLI
This commit is contained in:
@@ -44,8 +44,7 @@ internal static class ConsoleExtensions
|
||||
var actualDescription = !string.IsNullOrWhiteSpace(description) ? description : "...";
|
||||
|
||||
var progressTask = context.AddTask(
|
||||
// Don't recognize random square brackets as style tags
|
||||
Markup.Escape(actualDescription),
|
||||
actualDescription,
|
||||
new ProgressTaskSettings { MaxValue = 1 }
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user