kimcinoo pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=c07a40c745c5df1b1f6f0bbf666b233d8d072ca7

commit c07a40c745c5df1b1f6f0bbf666b233d8d072ca7
Author: Shinwoo Kim <cinoo....@samsung.com>
Date:   Thu Jan 25 22:10:32 2018 +0900

    elm: make elm_object_text_get return markup info as well.
    
    This commit solves following issue
    
    https://phab.enlightenment.org/T6642
    
    If I set object text as below
    elm_object_text_set(btn, "Some<br>text");
    then elm_object_text_get(btn) returns "Some text" not "Some<br>text".
---
 src/lib/elementary/efl_ui_layout.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/elementary/efl_ui_layout.c 
b/src/lib/elementary/efl_ui_layout.c
index 919e02f63f..438c9fe132 100644
--- a/src/lib/elementary/efl_ui_layout.c
+++ b/src/lib/elementary/efl_ui_layout.c
@@ -2495,7 +2495,7 @@ elm_layout_text_get(const Eo *obj, const char *part)
    else if (!_elm_layout_part_aliasing_eval(obj, &part, EINA_TRUE))
      return NULL;
 
-   return efl_text_get(efl_part(obj, part));
+   return efl_text_markup_get(efl_part(obj, part));
 }
 
 EAPI Eina_Bool

-- 


Reply via email to