libpurple/util.c

changeset 29227
3e9734bf4422
parent 28577
513297aa5f42
child 29686
f9dee36112d0
equal deleted inserted replaced
29226:88232e6c5591 29227:3e9734bf4422
1517 tag = tag->next; 1517 tag = tag->next;
1518 } 1518 }
1519 if(tag) { 1519 if(tag) {
1520 while(tags) { 1520 while(tags) {
1521 struct purple_parse_tag *pt = tags->data; 1521 struct purple_parse_tag *pt = tags->data;
1522 if(xhtml) 1522 if(xhtml && !pt->ignore)
1523 g_string_append_printf(xhtml, "</%s>", pt->dest_tag); 1523 g_string_append_printf(xhtml, "</%s>", pt->dest_tag);
1524 if(plain && purple_strequal(pt->src_tag, "a")) { 1524 if(plain && purple_strequal(pt->src_tag, "a")) {
1525 /* if this is a link, we have to add the url to the plaintext, too */ 1525 /* if this is a link, we have to add the url to the plaintext, too */
1526 if (cdata && url && 1526 if (cdata && url &&
1527 (!g_string_equal(cdata, url) && (g_ascii_strncasecmp(url->str, "mailto:", 7) != 0 || 1527 (!g_string_equal(cdata, url) && (g_ascii_strncasecmp(url->str, "mailto:", 7) != 0 ||

mercurial