Control characters (like \t, \n, ....) not properly handled
joao-motork opened this issue · 3 comments
Environment (please complete the following information):
- Node.js version: v20.7.0
- NPM version: 10.1.0
- webdriver.io version: 8.30.0
- @wdio/cucumber-framework version: 8.30.0
- wdio-cucumberjs-json-reporter version: 5.2.0
- multiple-cucumber-html-reporter: 3.6.2
Describe the bug
Attaching control characters (like \t, \n, ....) as text/plain and not handle properly and, then, they do not are displayed on the HTML report created from the json.
Actual result
Check this example:
Thanks for reporting!
We greatly appreciate any contributions that help resolve the bug. While we understand that active contributors have their own priorities, we kindly request your assistance if you rely on this bug being fixed. We encourage you to take a look at our contribution guidelines or join our friendly Discord development server, where you can ask any questions you may have. Thank you for your support, and cheers!
@christian-bromann I created this PR with the fix:
#441
Merged! Will trigger a release. Thanks for the contribution.