When pasting html type into an entry,
all tags are removed and only plain text is displayed in the entry.
Change-Id: I5b1c18a0718b61e1c2aa544c561ca667df7ba05e
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
}
else
{
- if (!(sel_data->format & ELM_SEL_FORMAT_MARKUP) && !(sel_data->format & ELM_SEL_FORMAT_HTML))
+ if (sel_data->format & ELM_SEL_FORMAT_HTML)
+ {
+ char *txt = _elm_util_mkup_to_text(buf);
+ if (txt)
+ {
+ _edje_entry_user_insert(obj, txt);
+ free(txt);
+ }
+ }
+ else if (!(sel_data->format & ELM_SEL_FORMAT_MARKUP))
{
char *txt = _elm_util_text_to_mkup(buf);
if (txt)