[wp-trac] [WordPress Trac] #61032: List item blocks displays unexpected or invalid content error

WordPress Trac noreply at wordpress.org
Tue Apr 23 18:55:49 UTC 2024


#61032: List item blocks displays unexpected or invalid content error
--------------------------+------------------------------
 Reporter:  tomdb         |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Editor        |     Version:  6.5
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by amjadr360):

 Thank you for providing the screenshot, although I still could not
 reproduce the issue. Let's try some troubleshooting steps:

 1. Disable all plugins including Extendify, and check if the problem
 persists.
 2. Switch to a different theme temporarily, like Twenty Twenty-Four, to
 see if it resolves the issue.
 3. I suspect the issue might be due to an encoding mismatch. Specifically,
 it appears that the database is storing characters as HTML entities (like
 – for an en dash), while WordPress's editor expects plain characters
 such as the hyphen-minus (-). This discrepancy between how characters are
 stored and expected by WordPress could be leading to the validation errors
 you're encountering.

 To test this theory, please use the exact block code you shared in this
 issue above. Create a new test page on your WordPress site and paste the
 code there. This will help us determine if the problem is consistent or
 not. By checking problem in this way, we can better understand if the
 issue is with the database encoding, the WordPress editor, or perhaps
 something else entirely, becuase with same code I could not able to
 reproduce.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/61032#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list