[wp-trac] [WordPress Trac] #30130: Normalize characters with combining marks to precomposed characters

WordPress Trac noreply at wordpress.org
Sun Apr 17 23:36:37 UTC 2016


#30130: Normalize characters with combining marks to precomposed characters
------------------------------------+-----------------------------
 Reporter:  zodiac1978              |       Owner:
     Type:  enhancement             |      Status:  new
 Priority:  normal                  |   Milestone:  Future Release
Component:  Formatting              |     Version:
 Severity:  normal                  |  Resolution:
 Keywords:  dev-feedback has-patch  |     Focuses:
------------------------------------+-----------------------------
Changes (by zodiac1978):

 * keywords:  dev-feedback needs-patch => dev-feedback has-patch


Comment:

 Replying to [comment:27 gitlost]:
 > As a demo I forked zodiac's tl-normalizer plugin
 (https://github.com/gitlost/tl-normalizer) to incorporate the polyfills.
 This would mean that there's no restrictions now on PHP installation, or
 on browsers (such as IE9) that lack `normalize()` to normalize text on
 pasting into tinymce.

 This is great, but this would just work for TinyMCE editor, am I right? It
 doesn't help us with all the other input fields.

 I expanded my previous ticket and added the normalize function to all
 sanitize filter additionally to the save_pre filter.

 Unfortunately there are still some fields not normalized:
 - Text Widget content
 - Website title and slug
 - vita on profile page
 - Add New Tag/Category
 - ALT-text for images in media upload panel
 - Add Tags metabox

 Any help is much appreciated. Ping @swissspidy

 Maybe we can use this approach as a first step and leave the ticket open
 for the javascript solution.

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


More information about the wp-trac mailing list