mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-06-19 21:38:16 +08:00
Modified MarkupTokenizer
So escaped markup in markup is valid.
This commit is contained in:

committed by
Patrik Svensson

parent
638149f44b
commit
a6618f762c
@ -100,6 +100,7 @@ public partial class AnsiConsoleTests
|
||||
[InlineData("[yellow]Hello[/", "Encountered malformed markup tag at position 15.")]
|
||||
[InlineData("[yellow]Hello[/foo", "Encountered malformed markup tag at position 15.")]
|
||||
[InlineData("[yellow Hello", "Encountered malformed markup tag at position 13.")]
|
||||
[InlineData("[yellow[green]]Hello", "Encountered malformed markup tag at position 7.")]
|
||||
public void Should_Throw_If_Encounters_Malformed_Tag(string markup, string expected)
|
||||
{
|
||||
// Given
|
||||
|
Reference in New Issue
Block a user