Skip to content

[.NET] Don't trim whitespaces before escape character#467

Merged
mpkorstanje merged 2 commits intocucumber:mainfrom
obligaron:fix/trimescape
Sep 11, 2025
Merged

[.NET] Don't trim whitespaces before escape character#467
mpkorstanje merged 2 commits intocucumber:mainfrom
obligaron:fix/trimescape

Conversation

@obligaron
Copy link
Copy Markdown
Contributor

🤔 What's changed?

  • Don't trim whitespaces before escape characters in datatable cells
  • Added regression tests to datatables.feature for this case (second commit)

⚡️ What's your motivation?

Fixes #466

🏷️ What kind of change is this?

  • 🐛 Bug fix (non-breaking change which fixes a defect)

📋 Checklist:

  • I agree to respect and uphold the Cucumber Community Code of Conduct
  • I've changed the behaviour of the code
    • I have added/updated tests to cover my changes.
  • My change requires a change to the documentation.
    • I have updated the documentation accordingly.
  • Users should know about my change
    • I have added an entry to the "Unreleased" section of the CHANGELOG, linking to this pull request.

This text was originally generated from a template, then edited by hand. You can modify the template here.

@mpkorstanje mpkorstanje changed the title Fix/trimescape .NET: Don't trim whitespaces before escape character Sep 5, 2025
@obligaron obligaron changed the title .NET: Don't trim whitespaces before escape character [.NET] Don't trim whitespaces before escape character Sep 6, 2025
@mpkorstanje mpkorstanje merged commit 5578bbc into cucumber:main Sep 11, 2025
37 checks passed
@obligaron obligaron deleted the fix/trimescape branch September 11, 2025 18:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[DotNet] Unexpected tablecell behaviour for space followed by an escape character

2 participants