From: yanjie.hu Date: Mon, 8 Apr 2013 11:00:02 +0000 (+0800) Subject: fix the markup: < showing issue. X-Git-Tag: 2.1b_release~8 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=24d066764ef2683637592e5fa1e687b4db3ba7bc;p=framework%2Fuifw%2Flibscl-ui.git fix the markup: < showing issue. Change-Id: Ib67aab5d5ca83a3702b038d0f28e9cf901c24393 --- diff --git a/scl/gwes/efl/sclgraphics-efl.cpp b/scl/gwes/efl/sclgraphics-efl.cpp index e8fc094..5ebe1e7 100644 --- a/scl/gwes/efl/sclgraphics-efl.cpp +++ b/scl/gwes/efl/sclgraphics-efl.cpp @@ -695,7 +695,11 @@ CSCLGraphicsImplEfl::draw_text(sclwindow window, const scldrawctx draw_ctx, cons color.r, color.g, color.b, color.a, padding_x, padding_x); evas_textblock_style_set(st, strStyle); evas_object_textblock_style_set(text_object, st); - evas_object_textblock_text_markup_set(text_object, str); + char *markup = evas_textblock_text_utf8_to_markup(text_object, str); + if (markup) { + evas_object_textblock_text_markup_set(text_object, markup); + free(markup); + } evas_object_resize(text_object, width, height); evas_object_textblock_size_native_get(text_object, &calwidth, &calheight); }