[wp-trac] [WordPress Trac] #45691: In Code View Bolded Text Has Strong tag wrapped around each character
WordPress Trac
noreply at wordpress.org
Sat Jan 31 20:32:30 UTC 2026
#45691: In Code View Bolded Text Has Strong tag wrapped around each character
----------------------------+------------------------------
Reporter: codingsince007 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Editor | Version: 5.0.1
Severity: normal | Resolution:
Keywords: close | Focuses:
----------------------------+------------------------------
Changes (by r1k0):
* keywords: needs-patch needs-testing => close
Comment:
== Reproduction Report
=== Environment
- WordPress: 6.9
- PHP: 8.4.17
- Server: PHP.wasm
- Database: WP_SQLite_Driver (Server: 8.0.38 / Client: 3.51.0)
- Browser: Chrome 144.0.0.0
- OS: Windows 10/11
- Theme: Twenty Twenty-Five 1.4
- MU Plugins: None activated
- Plugins:
* Test Reports 1.2.1
=== Steps taken
1. Copy text from MS Word containing a bolded paragraph.
2. Head over to **Posts > Add Post** paste the paragraph.
3. Click the three dot button on the top right side of the screen.
4. Under **Editor** section select `Code Editor` (You could use the code
editor shortcut: `Ctrl + shift + alt + m`).
5. Observe the tags wrapping the paragraph with the bold text.
6. ❌ Bug is not occurring
=== Expected behavior
- The bolded paragraph is wrapped in only one `strong` tag.
=== Additional Notes
- This issue is no longer reproducible; it might have been fixed.
- Unable to pinpoint the fix.
- Marking this as `close` unless further reports confirm otherwise.
=== Screencast with results
https://files.catbox.moe/0isjbv.webm
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45691#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list