Mercurial > pidgin
comparison libpurple/util.c @ 18042:25819c54a963
Make this work with the changes in revision
a58972b72c7aa0fa0899c5a6b96e51cd6c427ab4.
Again, I really wish I knew how to optimize this properly.
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Mon, 04 Jun 2007 05:56:57 +0000 |
parents | 678d78b7fa34 |
children | 58e28ccf08e6 |
comparison
equal
deleted
inserted
replaced
18041:678d78b7fa34 | 18042:25819c54a963 |
---|---|
1447 c = p; | 1447 c = p; |
1448 pt = g_new0(struct purple_parse_tag, 1); | 1448 pt = g_new0(struct purple_parse_tag, 1); |
1449 pt->src_tag = "img"; | 1449 pt->src_tag = "img"; |
1450 pt->dest_tag = "img"; | 1450 pt->dest_tag = "img"; |
1451 tags = g_list_prepend(tags, pt); | 1451 tags = g_list_prepend(tags, pt); |
1452 if(src && src->len) | 1452 if(xhtml && src && src->len) |
1453 g_string_append_printf(xhtml, "<img src='%s' alt=''>", g_strstrip(src->str)); | 1453 g_string_append_printf(xhtml, "<img src='%s' alt=''>", g_strstrip(src->str)); |
1454 else | 1454 else |
1455 pt->ignore = TRUE; | 1455 pt->ignore = TRUE; |
1456 if (src) | 1456 if (src) |
1457 g_string_free(src, TRUE); | 1457 g_string_free(src, TRUE); |