What about escaping specific BEMJSON field, e.g. 'contentSafe'?
Open
- Dominant language
- JavaScript
- Stars
- 69
- Forks
- 33
- PR merge metrics
- No merged PRs in 30d
Description
Something like this: `{ block: 'button', contentSafe: 'alert('you shall not pass!') }`
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reviewing the 14-comment discussion and the current BH template-engine escaping behavior; the issue names no file or test entry point. Establish the intended behavior for the contentSafe field, then add coverage for the supplied BEMJSON example and verify the generated HTML.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- web-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 28/100