freeCodeCamp / freeCodeCamp/curriculum-helpers
Empty string after strip with opening block comment symbol inside of a comment
Open
- Dominant language
- TypeScript
- Stars
- 28
- Forks
- 34
- PR merge metrics
- No merged PRs in 30d
Description
If a camper writes code like:
```js
/**
* Some comment text
* example.com/*
*/
let hello = 'world';
console.log(hello);
`
```
All they will end up left with is an empty string.
I think we need a way for block comment characters to be escaped when they're already inside of a block comment.
Issue noted from: https://github.com/jonschlinkert/strip-comments/issues/51
Contributor guide
Assessment
This issue has not been assessed yet.