Evas textblock: Fixed a bug with <i> identified as <item>.

SVN revision: 61944
This commit is contained in:
Tom Hacohen 2011-08-01 09:11:46 +00:00
parent 4ec907df55
commit 2661895aec
1 changed files with 1 additions and 1 deletions

View File

@ -5906,7 +5906,7 @@ _evas_textblock_format_is_visible(Evas_Object_Textblock_Node_Format *fnode,
{
fnode->anchor = ANCHOR_A;
}
else if (is_opener && !strncmp(item, "item", itlen))
else if (is_opener && !strncmp(item, "item", itlen) && (itlen >= 4))
{
fnode->anchor = ANCHOR_ITEM;
}