Closed viditochani closed 3 years ago
If a user types in a string with single quote(s) or backward slash(es) while recording, it is not escaped correctly and leaks into the generated code.
All existing tests passed. Manually tested with the following strings:
And added new unit test for it.
npm run lint
npm run test
@viditochani thanks so much and 🙌 on this first PR! Let me have a closer look ASAP this week
Pull Request Template
Description
If a user types in a string with single quote(s) or backward slash(es) while recording, it is not escaped correctly and leaks into the generated code.
Type of change
How Has This Been Tested?
All existing tests passed. Manually tested with the following strings:
And added new unit test for it.
Checklist:
npm run lint
passes with no errors.npm run test
passes with no errors.