summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2019-08-15 00:08:57 +0100
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2019-08-15 00:08:57 +0100
commit894c1b34b3c4f8cad370edca00cd57997add7436 (patch)
treeaec56bad35bbb8d847ba58d3b06c42a136359ac0
parent252f0c42a07b23e21f9fbe7153895d9b92be0cae (diff)
elm entry - respect plain text newlines on paste again...
make this work like it used to... fixes T8135
-rw-r--r--src/lib/elementary/elm_entry.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/lib/elementary/elm_entry.c b/src/lib/elementary/elm_entry.c
index 0de3937f7c..1fa1a9096a 100644
--- a/src/lib/elementary/elm_entry.c
+++ b/src/lib/elementary/elm_entry.c
@@ -730,6 +730,16 @@ _selection_data_cb(void *data EINA_UNUSED,
730 } 730 }
731 else 731 else
732 { 732 {
733 if (!(sel_data->format & ELM_SEL_FORMAT_MARKUP))
734 {
735 char *txt = _elm_util_text_to_mkup(buf);
736 if (txt)
737 {
738 _edje_entry_user_insert(obj, txt);
739 free(txt);
740 }
741 }
742 else
733 _edje_entry_user_insert(obj, buf); 743 _edje_entry_user_insert(obj, buf);
734 } 744 }
735 free(buf); 745 free(buf);