* fix to not update map uv for proxy
* fix build on Solaris 11.
* fix duplicate after programs in group inheritance.
+ * fix return plain string in retrive surrounding text callback of entry
Edje 1.7.0
Edje_Real_Part *rp = ed->focused_part;
Entry *en = NULL;
const char *str;
+ char *plain_text;
if (!rp) return EINA_FALSE;
if ((rp->type != EDJE_RP_TYPE_TEXT) ||
if (text)
{
str = _edje_entry_text_get(rp);
- *text = str ? strdup(str) : strdup("");
+ if (str)
+ plain_text = evas_textblock_text_markup_to_utf8(NULL, str);
+ else
+ plain_text = strdup("");
+ *text = plain_text;
}
if (cursor_pos)