cedric pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=384765b08818a63893b6aa001d0bcc481d2366b4
commit 384765b08818a63893b6aa001d0bcc481d2366b4 Author: subhransu mohanty <sub.moha...@samsung.com> Date: Mon Aug 12 01:24:39 2019 +0000 edje/textblock: Don't add text_class style tag to the final style string Evas_TextBlock_Style has no idea about the text_class tag its a garbage value to it. So keep the text_class tag in the edje level and update the text style property in the final style string when necessary. Because text_class id tends to be unique by removing from the final style string enable it to be shared (string shared string). Reviewed-by: Cedric BAIL <cedric.b...@free.fr> Differential Revision: https://phab.enlightenment.org/D9544 --- src/lib/edje/edje_textblock_styles.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/lib/edje/edje_textblock_styles.c b/src/lib/edje/edje_textblock_styles.c index 6585034292..1b7e94b6a1 100644 --- a/src/lib/edje/edje_textblock_styles.c +++ b/src/lib/edje/edje_textblock_styles.c @@ -100,6 +100,11 @@ _edje_format_reparse(Edje_File *edf, const char *str, Edje_Style_Tag **tag_ret) { if (tag_ret) (*tag_ret)->text_class = eina_stringshare_add(val); + + // no need to add text_class tag to style + // as evas_textblock_style has no idea about + // text_class tag. + continue; } else if (!strcmp(key, "font_size")) { --