summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_object_textblock.c
diff options
context:
space:
mode:
authorWoochanlee <wc0917.lee@samsung.com>2019-05-02 14:34:04 +0000
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2019-05-02 18:14:43 +0200
commitfdfb781e22ba42855ce11b495bfa6145fb48b17a (patch)
treedf0bc140c6c9412ab30722f2ddf0fbcd9add76cd /src/lib/evas/canvas/evas_object_textblock.c
parenta69392e8380526c4adc2adf4a156415e5b1dca4e (diff)
evas_object_textblock: Fix binary search fail.
D8610 Makes API Testcase fault. "&lt" is never searching. @fix Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D8803
Diffstat (limited to 'src/lib/evas/canvas/evas_object_textblock.c')
-rw-r--r--src/lib/evas/canvas/evas_object_textblock.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/evas/canvas/evas_object_textblock.c b/src/lib/evas/canvas/evas_object_textblock.c
index 0913fd3..bb8deab 100644
--- a/src/lib/evas/canvas/evas_object_textblock.c
+++ b/src/lib/evas/canvas/evas_object_textblock.c
@@ -1271,8 +1271,8 @@ static const Escape_Value escape_values_e_common_sorted[] = {
1271 ESCAPE_VALUE("&amp;", "\x26"), 1271 ESCAPE_VALUE("&amp;", "\x26"),
1272 ESCAPE_VALUE("&apos;", "\x27"), 1272 ESCAPE_VALUE("&apos;", "\x27"),
1273 ESCAPE_VALUE("&gt;", "\x3e"), 1273 ESCAPE_VALUE("&gt;", "\x3e"),
1274 ESCAPE_VALUE("&quot;", "\x22"),
1275 ESCAPE_VALUE("&lt;", "\x3c"), 1274 ESCAPE_VALUE("&lt;", "\x3c"),
1275 ESCAPE_VALUE("&quot;", "\x22"),
1276}; 1276};
1277 1277
1278/** 1278/**
@@ -8185,6 +8185,8 @@ _markup_get_text_utf8_append(Eina_Strbuf *sbuf, const char *text)
8185 eina_strbuf_append(sbuf, "&amp;"); 8185 eina_strbuf_append(sbuf, "&amp;");
8186 else if (ch == '"') 8186 else if (ch == '"')
8187 eina_strbuf_append(sbuf, "&quot;"); 8187 eina_strbuf_append(sbuf, "&quot;");
8188 else if (ch == '\'')
8189 eina_strbuf_append(sbuf, "&apos;");
8188 else if (ch == _PARAGRAPH_SEPARATOR) 8190 else if (ch == _PARAGRAPH_SEPARATOR)
8189 eina_strbuf_append(sbuf, "<ps/>"); 8191 eina_strbuf_append(sbuf, "<ps/>");
8190 else if (ch == _REPLACEMENT_CHAR) 8192 else if (ch == _REPLACEMENT_CHAR)