3 comments (3 comments)0 reactions (0 reactions)0 assignees (0 assignees)JavaScript3,516 stars (3,516 stars)265 forks (265 forks)batch import
bugformattershelp wanted
Description
Sanitizer does not seem to be able to prevent nested lists?
Contributor guide
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- bug
- DifficultyEstimated implementation difficulty for a new contributor, from 1 for very small changes to 5 for expert-level work.
- 3
- Estimated timeA rough time range for an experienced contributor to investigate, implement, test, and prepare a pull request.
- 1-3 hours
- Activity statusHow available the issue appears right now: fresh, active, stale, blocked, or waiting on maintainer input.
- stale
- ClarityHow clearly the issue explains the expected change, acceptance criteria, and next step.
- mostly clear
- Prerequisites
- JavaScriptHTML sanitization
- Newbie friendlinessA 1-100 score estimating how approachable this issue is for first-time contributors.
- 40
- Research direction
- Examine the sanitizer module in Scribe's source code (likely in src/ or lib/) to understand how it handles list elements (ol, ul, li). Look for the logic that should prevent nested lists but fails. Consider adding a rule to disallow list elements inside list items. Check existing tests for the sanitizer to guide the fix.