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

@ -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.");
}
}