summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas
diff options
context:
space:
mode:
authorJae Yong Hwang <j_yong.hwang@samsung.com>2015-01-08 19:38:48 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2015-01-08 19:38:49 +0900
commite561570507cfe5a0124da022f65b9a010793b36b (patch)
treeeae30c6495fe9e0ed9fc9db788fe697a110cd5b2 /src/lib/evas/canvas
parent694f9dbcdb279c10a02ccc76230b2fbd4089bbc9 (diff)
evas:fix markup text length issue
Summary: There was no conversion to the double quotation mark in the evas_textblock_text_utf8_to_markup function. The price of the text coming out to API and text coming out to Textblock was different as a result. As a result, Two text lengths came out differently. So, I added the exceptional treatment part in the evas_textblock_text_utf8_to_markup function. @fix Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D1853
Diffstat (limited to 'src/lib/evas/canvas')
-rw-r--r--src/lib/evas/canvas/evas_object_textblock.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/evas/canvas/evas_object_textblock.c b/src/lib/evas/canvas/evas_object_textblock.c
index c7059c33e1..e9db7bb639 100644
--- a/src/lib/evas/canvas/evas_object_textblock.c
+++ b/src/lib/evas/canvas/evas_object_textblock.c
@@ -6558,6 +6558,8 @@ _markup_get_text_utf8_append(Eina_Strbuf *sbuf, const char *text)
6558 eina_strbuf_append(sbuf, "&gt;"); 6558 eina_strbuf_append(sbuf, "&gt;");
6559 else if (ch == '&') 6559 else if (ch == '&')
6560 eina_strbuf_append(sbuf, "&amp;"); 6560 eina_strbuf_append(sbuf, "&amp;");
6561 else if (ch == '"')
6562 eina_strbuf_append(sbuf, "&quot;");
6561 else if (ch == _PARAGRAPH_SEPARATOR) 6563 else if (ch == _PARAGRAPH_SEPARATOR)
6562 eina_strbuf_append(sbuf, "<ps/>"); 6564 eina_strbuf_append(sbuf, "<ps/>");
6563 else if (ch == _REPLACEMENT_CHAR) 6565 else if (ch == _REPLACEMENT_CHAR)