elm entry - respect plain text newlines on paste again...

make this work like it used to... fixes T8135
This commit is contained in:
Carsten Haitzler 2019-08-15 00:08:57 +01:00
parent 8066c82b65
commit 3716cfe1a2
1 changed files with 10 additions and 0 deletions

View File

@ -730,6 +730,16 @@ _selection_data_cb(void *data EINA_UNUSED,
}
else
{
if (!(sel_data->format & ELM_SEL_FORMAT_MARKUP))
{
char *txt = _elm_util_text_to_mkup(buf);
if (txt)
{
_edje_entry_user_insert(obj, txt);
free(txt);
}
}
else
_edje_entry_user_insert(obj, buf);
}
free(buf);