cabbage-ex / gherkin

A Gherkin file parser written in Elixir. Extracted from https://github.com/meadsteve/white-bread.
11 stars 9 forks source link

Tables can't have cells containing escaped pipe characters #19

Closed maxmarcon closed 1 year ago

maxmarcon commented 2 years ago

Hello,

I have a table with cell values that contain pipe characters, such as the first cell on the second row in this table:

| MatterTypeFullPath                        | ApprovedTax | ApprovedTotalExcludingTax | LockedExchangeRate |
| Litigation/Dispute\|Potential Dispute     | 12.0        |  133.09                                  | 1.0                               |

Escaping the pipe character works fine in most Gherkin engines AFAIK. But here it doesn't. Is there a workaround?

Thanks!

maxmarcon commented 2 years ago

I will put together a PR as soon as I have a bit of time