This commit is contained in:
Simon Cropp
2020-12-24 17:11:30 +11:00
committed by Patrik Svensson
parent f417e297cd
commit 041aea2ae5
4 changed files with 10 additions and 10 deletions

View File

@ -189,7 +189,7 @@ namespace Spectre.Console.Internal
var normalized = rgb ?? string.Empty;
if (normalized.Length >= 3)
{
// Trim parenthesises
// Trim parentheses
normalized = normalized.Substring(3).Trim();
if (normalized.StartsWith("(", StringComparison.OrdinalIgnoreCase) &&