comparison libpurple/util.c @ 27632:95cc20ede768

567c0647 introduced an extra backslash at the end of ALLOW_TAG_ALT
author Ka-Hing Cheung <khc@hxbc.us>
date Sun, 19 Jul 2009 22:29:44 +0000
parents 3edd01d04004
children f42fb3f1e5ae
comparison
equal deleted inserted replaced
27631:6dd89408ded4 27632:95cc20ede768
1477 if(xhtml) \ 1477 if(xhtml) \
1478 xhtml = g_string_append(xhtml, "/>");\ 1478 xhtml = g_string_append(xhtml, "/>");\
1479 } \ 1479 } \
1480 c = strchr(c, '>') + 1; \ 1480 c = strchr(c, '>') + 1; \
1481 continue; \ 1481 continue; \
1482 } \ 1482 }
1483 #define ALLOW_TAG(x) ALLOW_TAG_ALT(x, x) 1483 #define ALLOW_TAG(x) ALLOW_TAG_ALT(x, x)
1484 void 1484 void
1485 purple_markup_html_to_xhtml(const char *html, char **xhtml_out, 1485 purple_markup_html_to_xhtml(const char *html, char **xhtml_out,
1486 char **plain_out) 1486 char **plain_out)
1487 { 1487 {