Opened 4 months ago
Last modified 4 months ago
#62049 new defect (bug)
Italics HTML tags in Post Titles are Being Converted to HTML Entities
Reported by: | ccwp24 | Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | major | Version: | 6.5.5 |
Component: | Posts, Post Types | Keywords: | |
Focuses: | Cc: |
Description
When editors wrap words like publication titles and book titles within Post titles with HTML:
<em> or <i>
The opening tag "<" gets converted to the entity: <
The only way we have found to fix it is to go into the 'quick edit' menu and change it back to "<". This is causing issues on our site. It has only been occurring since 6.5.5. We tested it with other themes using 6.5.5 and have confirmed that it still happens. It does not happen with earlier WordPress core versions.
Attachments (2)
Change History (7)
#1
@
4 months ago
@ccwp24 I'm not getting this issue with the latest WordPress release (6.6.2) and with Twenty Twenty-Four theme."<" symbol is not converting to "<" with Quick Edit. The <em> tag is only displaying as plain text in the CMS and not rendering in italics, but it appears correctly on the frontend.
Please take a look screenshot
https://ibb.co/wWPBZVk
https://ibb.co/nzk4RnC
https://ibb.co/3Fj4zBk
#2
@
4 months ago
I believe what @ccwp24 is saying is that the issue is with the regular editor (i.e., the block editor), not the "Quick Edit" functionality. (Quick Edit is the workaround.)
#3
@
4 months ago
Yeah it's in the editor, not quick edit. When users create posts they are creating the title in editor screen. I was using quick edit as a work-around to see if that made any difference, but we don't want our users to have to do that extra step.
#4
@
4 months ago
Sorry, but I'm not seeing this issue with the block editor. Here are some screenshots for reference:
What the post title looks like in Wordpress when you create a post called: My Book Title is <em>The Great Gatsby</em>