fix the markup: < showing issue.
authoryanjie.hu <yanjie.hu@samsung.com>
Mon, 8 Apr 2013 11:00:02 +0000 (19:00 +0800)
committeryanjie.hu <yanjie.hu@samsung.com>
Mon, 8 Apr 2013 11:00:02 +0000 (19:00 +0800)
Change-Id: Ib67aab5d5ca83a3702b038d0f28e9cf901c24393

scl/gwes/efl/sclgraphics-efl.cpp

index e8fc094..5ebe1e7 100644 (file)
@@ -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);
                     }