-
-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
π bugDefect / BugDefect / Bug
Description
π What did you see?
Formatting escaped_pipes.feature
in the gherkin parser's test data, the following diff is produced; with escapes introduced for standalone backslashes.
- | \|Γ¦\\n | \o\no\ |
+ | \|Γ¦\\n | \\o\no\\ |
β What did you expect to see?
New escape characters are not introduced.
| \|Γ¦\\n | \o\no\ |
π¦ Which tool/library version are you using?
node v18.16.0
gherkin-utils v9.0.0
π¬ How could we reproduce it?
Run the following in the gherkin parser repository
npm install @cucumber/gherkin-utils
npx @cucumber/gherkin-utils format gherkin/testdata/good/escaped_pipes.feature
π Any additional context?
Unsure of appropriate behaviour in this case; and whether is desirable to be introducing these characters by the formatter. Perhaps is appropriate behaviour?
Metadata
Metadata
Assignees
Labels
π bugDefect / BugDefect / Bug