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".
This commit is contained in:
Shinwoo Kim 2018-01-25 22:10:32 +09:00
parent 1837253935
commit c07a40c745
1 changed files with 1 additions and 1 deletions

View File

@ -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