[xconverter] Fix the do_not_convert function not to add any additional tags
authorjae_hyun.cho <jae_hyun.cho@samsung.com>
Thu, 14 Mar 2013 02:52:23 +0000 (11:52 +0900)
committerSungho Kwak <sungho1.kwak@samsung.com>
Mon, 25 Mar 2013 08:51:05 +0000 (17:51 +0900)
Change-Id: I0549471b7e19e7ff073b792bd09c35e2591b250b

src/xconverter.c

index 3196fdb..ded0487 100644 (file)
@@ -1012,29 +1012,6 @@ static char *make_close_tag(Eina_List* nodes)
 static char *do_not_convert(AppData *ad, int type_index, const char *str)
 {
        DMSG("str: %s\n", str);
-       if (type_index != ATOM_INDEX_TEXT)
-       {
-               Eina_List *nodeList = NULL;
-               PTagNode nodeData;
-
-               nodeData = _get_start_node(str);
-
-               while (nodeData)
-               {
-                       nodeList = eina_list_append(nodeList, nodeData);
-                       nodeData = _get_next_node(nodeData);
-               }
-
-               _link_match_tags(nodeList);
-
-#ifdef DEBUG
-               _dumpNode(nodeList);
-#endif
-               char *ret = make_close_tag(nodeList);
-               cleanup_tag_list(nodeList);
-               DMSG("convert str: %s\n", ret);
-               return ret;
-       }
        return strdup(str);
 }
 /*