[wp-trac] [WordPress Trac] #41208: Dashboard News & Events widget does not properly handle entities (e.g. en/em dash)

WordPress Trac noreply at wordpress.org
Sat Jan 8 23:24:35 UTC 2022


#41208: Dashboard News & Events widget does not properly handle entities (e.g.
en/em dash)
-------------------------------------+-----------------------------
 Reporter:  nickciske                |       Owner:  (none)
     Type:  defect (bug)             |      Status:  assigned
 Priority:  low                      |   Milestone:  6.0
Component:  Administration           |     Version:  4.8
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-refresh  |     Focuses:  ui, javascript
-------------------------------------+-----------------------------

Comment (by audrasjb):

 Justr noting that the patch proposed above doesn't work in most case since
 `unescape()` only handles a small amount of entities (source:
 http://underscorejs.org/#unescape).

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


More information about the wp-trac mailing list