edje: textblock style loading changed

Summary:
Keeping "font=", "font_size=" and "text_class" in tag->value fixes
style loading issues (after saving edj file with edje_edit_save method).

Reviewers: cedric, raster, seoz, Hermet, tasn

CC: reutskiy.v.v, cedric

Differential Revision: https://phab.enlightenment.org/D940

@fix
This commit is contained in:
Andrii Kroitor 2014-06-26 19:34:35 +09:00 committed by ChunEon Park
parent 5ade5ca433
commit 0c72d75051
1 changed files with 7 additions and 10 deletions

View File

@ -125,16 +125,13 @@ _edje_format_reparse(Edje_File *edf, const char *str, Edje_Style_Tag **tag_ret)
}
}
}
else /* Otherwise add to tag buffer */
{
s2 = eina_str_escape(item);
if (s2)
{
if (eina_strbuf_length_get(txt)) eina_strbuf_append(txt, " ");
eina_strbuf_append(txt, s2);
free(s2);
}
}
s2 = eina_str_escape(item);
if (s2)
{
if (eina_strbuf_length_get(txt)) eina_strbuf_append(txt, " ");
eina_strbuf_append(txt, s2);
free(s2);
}
free(key);
free(val);
}