From: discomfitor Date: Mon, 28 Nov 2011 03:09:24 +0000 (+0000) Subject: fix parsing
tags in markup_to_utf8 X-Git-Tag: REL_F_I9500_20120323_1~17^2~1253 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=233b9a3a350403de7e5f19d229915f6b39ca62ee;p=framework%2Fuifw%2Felementary.git fix parsing
tags in markup_to_utf8 git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@65630 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/elm_util.c b/src/lib/elm_util.c index 7264041..aea709c 100644 --- a/src/lib/elm_util.c +++ b/src/lib/elm_util.c @@ -127,6 +127,9 @@ _elm_util_mkup_to_text(const char *mkup) if (tag_start) { tag_end = p; + /*
*/ + /* ^^^ */ + if ((p - mkup > 1) && (p[-1] == '/')) p--; s = p + 1; } }