elm_entry: remove markup change code when text which is not markup is pasted 05/109205/1
authorTaehyub Kim <taehyub.kim@samsung.com>
Mon, 9 Jan 2017 08:00:01 +0000 (17:00 +0900)
committerTaehyub Kim <taehyub.kim@samsung.com>
Mon, 9 Jan 2017 08:00:03 +0000 (17:00 +0900)
@tizen_fix

Change-Id: Ia4f4d3fa062699f74f48434f4a3811584f18ac7d

src/lib/elm_entry.c

index 7eb523195e1c8573d108c9c60bc89a02d3b8874e..be1a48878c3c0a5188aa694d59859504eee31802 100644 (file)
@@ -1647,6 +1647,10 @@ _selection_data_cb(void *data EINA_UNUSED,
      }
    else
      {
+        // TIZEN_ONLY(20170109): when selection format is not markup or image,
+        // txt will be changed to markup.
+        // but it is not elementary markup so this code is should be removed.
+        /*
         char *txt = _elm_util_text_to_mkup(buf);
         if (txt)
           {
@@ -1657,6 +1661,9 @@ _selection_data_cb(void *data EINA_UNUSED,
           {
              ERR("Failed to convert text to markup text!");
           }
+        */
+        _edje_entry_user_insert(obj, buf);
+        //
      }
    free(buf);