[wp-trac] [WordPress Trac] #14737: Tinymce Googlespell: Json return wrongly encoded special char
WordPress Trac
wp-trac at lists.automattic.com
Mon Aug 30 15:48:14 UTC 2010
#14737: Tinymce Googlespell: Json return wrongly encoded special char
--------------------------+-------------------------------------------------
Reporter: jli | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: TinyMCE | Version: 3.0.1
Severity: normal | Keywords: tinymce, spellcheck, google, special, char, accent
--------------------------+-------------------------------------------------
The Json returned by the googlespeel method is broken.
I don't have time to create a patch now:
SO this is it in the file GoogleSpell.php:
original:
(line 41,42)
if (count($matches) > 0)
$sug = explode("\t",
utf8_encode($this->_unhtmlentities($matches[0][4])));
Fix:
(line 41,42)
if (count($matches) > 0)
$sug = explode("\t",
$this->_unhtmlentities($matches[0][4]));
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14737>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list