-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Labels
bug 🐛An unexpected issue that highlights incorrect behaviorAn unexpected issue that highlights incorrect behaviorcontrols 🎛️
Milestone
Description
I'm submitting a...
Bug report (I searched for similar issues and did not find one)
Current behavior
For the markdown parser, this table parses the data lines as 4 cells, when it should just be 2:
| Input | Output |
|--|--|
|`{true \|\| true}`|`true`|
|`{true \|\| false}`|`true`|
|`{false \|\| true}`|`true`|
|`{false \|\| false}`|`false`|
Expected behavior
It should parse these lines as 2 cells, since the | table cell character is escaped. GitHub's markdown parser handles this correctly:
| Input | Output |
|---|---|
{true || true} |
true |
{true || false} |
true |
{false || true} |
true |
{false || false} |
false |
Minimal reproduction of the problem with instructions
Simply parse the table listed above (not surrounded by code blocks).
Environment
Nuget Package(s): Microsoft.Toolkit.Parsers - https://www.nuget.org/packages/Microsoft.Toolkit.Parsers/
Package Version(s): 5.1.1
Windows 10 Build Number: Irrelevant
App min and target version: Irrelevant
Device form factor: Irrelevant
Visual Studio : All
Metadata
Metadata
Assignees
Labels
bug 🐛An unexpected issue that highlights incorrect behaviorAn unexpected issue that highlights incorrect behaviorcontrols 🎛️