D8610 Makes API Testcase fault.
"<" is never searching.
@fix
Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Differential Revision: https://phab.enlightenment.org/D8803
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)
fail_if(strcmp(tmp2, "aa"));
free(tmp2);
free(tmp);
+
+ tmp = evas_textblock_text_markup_to_utf8(NULL, "<align=center>hello</align>&gt;"'");
+ fail_if(strcmp(tmp, "<align=center>hello</align>>\"\'"));
+ tmp2 = evas_textblock_text_utf8_to_markup(NULL, tmp);
+ fail_if(strcmp(tmp2, "<align=center>hello</align>&gt;"'"));
+ free(tmp2);
+ free(tmp);
}
/* complex markup set/get */