Character count fails if ID contains characters that have a special meaning in CSS #1809
Labels
character count
🕔 hours
A well understood issue which we expect to take less than a day to resolve.
javascript
Milestone
Because we interpolate the textarea ID into a querySelector call without escaping it, the character count can fail if the ID contains characters that have a special meaning in CSS:
govuk-frontend/src/govuk/components/character-count/character-count.js
Lines 8 to 10 in 387c33d
The text was updated successfully, but these errors were encountered: