<strong> tag removing spaces if in between tags
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 47
- Forks
- 32
- PR merge metrics
- No merged PRs in 30d
Description
We're having issues with how tags are being outputted.
<strong>Hello World</strong> is showing the correct output of Hello World
But users are usually double clicking word for word to highlight and then select "Bold" resulting in
<strong>Hello</strong><strong>World</strong>
While in the editor is still has a space as "Hello World" but in the actual web page it shows "HelloWorld" it removes all spaces
Additional info
- Craft version: 4.16.11
- CKEditor version: 3.14.0
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue in Craft 4.16.11 with CKEditor 3.14.0 by applying bold separately to adjacent words and comparing the editor content with the rendered page. Trace where adjacent strong tags are converted or rendered; done means the space between separately bolded words remains visible in the page output.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100