raster pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=e561570507cfe5a0124da022f65b9a010793b36b

commit e561570507cfe5a0124da022f65b9a010793b36b
Author: Jae Yong Hwang <j_yong.hw...@samsung.com>
Date:   Thu Jan 8 19:38:48 2015 +0900

    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
---
 src/lib/evas/canvas/evas_object_textblock.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/lib/evas/canvas/evas_object_textblock.c 
b/src/lib/evas/canvas/evas_object_textblock.c
index c7059c3..e9db7bb 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)
            eina_strbuf_append(sbuf, "&gt;");
         else if (ch == '&')
            eina_strbuf_append(sbuf, "&amp;");
+        else if (ch == '"')
+           eina_strbuf_append(sbuf, "&quot;");
         else if (ch == _PARAGRAPH_SEPARATOR)
            eina_strbuf_append(sbuf, "<ps/>");
         else if (ch == _REPLACEMENT_CHAR)

-- 


Reply via email to