mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-06-20 05:48:14 +08:00
spelling
This commit is contained in:

committed by
Patrik Svensson

parent
f417e297cd
commit
041aea2ae5
@ -44,13 +44,13 @@ namespace Spectre.Console.Internal
|
||||
}
|
||||
else if (token.Kind == MarkupTokenKind.Text)
|
||||
{
|
||||
// Get the effecive style.
|
||||
// Get the effective style.
|
||||
var effectiveStyle = style.Combine(stack.Reverse());
|
||||
result.Append(Emoji.Replace(token.Value), effectiveStyle);
|
||||
}
|
||||
else
|
||||
{
|
||||
throw new InvalidOperationException("Encountered unkown markup token.");
|
||||
throw new InvalidOperationException("Encountered unknown markup token.");
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user