-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
Description
Used Visual Studio
Visual Studio 2022
Are the latest Visual Studio updates installed?
Yes
Content of reqnroll.json (if present)
No response
Issue Description
When using the auto-format feature on a Gherkin table in a .feature file, the Reqenroll plugin incorrectly converts single backslashes (\) into double backslashes (\\). This behavior is incorrect for Gherkin syntax This bug reduces the readability of the specification file by adding unnecessary escape characters.
Steps to Reproduce
- Open a .feature file in a Visual Studio project where the Reqenroll plugin is active.
- Create a Gherkin scenario that includes a data table.
- In a cell of the table, enter a string that contains a single backslash, such as a Windows file path. For example:
| FilePath |
| C:\Users\Test |- Trigger the document auto-format command.
Link to a project repository that reproduces the issue
No response