Description
If an editor creates a CKEditor bookmark with an ID containing a question mark (e.g. faq-can-i-return-it?), the bookmark vanishes on save with no warning. Naturally we can't expect question marks to work in URI fragments, but I'd say the expected behaviour should be to just silently strip them out rather than failing. Possibly an issue with HTML Purifier according to Claude(?).
Steps to reproduce
- Have the bookmarks functionality enabled in the CKEditor toolbar
- Create an anchor with a question mark
- Save and see it disappear
Additional info
- Craft version: 5.9.23
- CKEditor version: 5.5.0
Description
If an editor creates a CKEditor bookmark with an ID containing a question mark (e.g. faq-can-i-return-it?), the bookmark vanishes on save with no warning. Naturally we can't expect question marks to work in URI fragments, but I'd say the expected behaviour should be to just silently strip them out rather than failing. Possibly an issue with HTML Purifier according to Claude(?).
Steps to reproduce
Additional info