forked from enlightenment/efl
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
This commit is contained in:
parent
694f9dbcdb
commit
e561570507
|
@ -6558,6 +6558,8 @@ _markup_get_text_utf8_append(Eina_Strbuf *sbuf, const char *text)
|
|||
eina_strbuf_append(sbuf, ">");
|
||||
else if (ch == '&')
|
||||
eina_strbuf_append(sbuf, "&");
|
||||
else if (ch == '"')
|
||||
eina_strbuf_append(sbuf, """);
|
||||
else if (ch == _PARAGRAPH_SEPARATOR)
|
||||
eina_strbuf_append(sbuf, "<ps/>");
|
||||
else if (ch == _REPLACEMENT_CHAR)
|
||||
|
|
Loading…
Reference in New Issue