# HG changeset patch # User Elliott Sales de Andrade # Date 1247990964 0 # Node ID b7ce89597a89e375b6a4f631be527df8a42fa044 # Parent 989f1bd200b73788ab553fd26d6e17ddf18a823c ALLOW_TAG expands to multiple statements, so we should put braces around this if(). Otherwise, I think we'd accept in the middle of the markup. References #7340. diff -r 989f1bd200b7 -r b7ce89597a89 libpurple/util.c --- a/libpurple/util.c Sun Jul 19 06:20:21 2009 +0000 +++ b/libpurple/util.c Sun Jul 19 08:09:24 2009 +0000 @@ -1572,8 +1572,9 @@ ALLOW_TAG("h5"); ALLOW_TAG("h6"); /* we only allow html to start the message */ - if(c == html) + if(c == html) { ALLOW_TAG("html"); + } ALLOW_TAG_ALT("i", "em"); ALLOW_TAG_ALT("italic", "em"); ALLOW_TAG("li");