Closed rayjolt closed 4 years ago
I can't work on this right away, so others should feel free to pick it up. If I manage to find time, I'll leave another message here.
Thanks for reporting @rayjolt Since you are busy, I have just self-assigned this issue.
I just tried running autoformat-gherkin on a feature file with an escaped pipe in a table cell, and it raised an internal error. Here is the feature file:
Here is the command I used, with the full output:
And here is the contents of /tmp/rfmt-ghk_fllmdhek.log:
The problem is that the pipe inside the table cell is not escaped in the formatted output, causing a mismatched number of table cells.
Reformat-gherkin version: latest develop (ec19f9ca9c2fcbe8160a30e3f3c5fe748f8fbdf1) Python version: 3.7.4