diff src/html.c @ 7014:67c4e9d39242

[gaim-migrate @ 7577] Here it is, the bulk of the new Jabber prpl. Left to do: - Implement registration - Implement password changing - Keep track of conversation threads (since I apparently have to) - Fix the bugs that always magically appear in code after I commit committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Mon, 29 Sep 2003 15:23:19 +0000
parents 7c14b35bc984
children 2343c3aa1dec
line wrap: on
line diff
--- a/src/html.c	Mon Sep 29 13:00:55 2003 +0000
+++ b/src/html.c	Mon Sep 29 15:23:19 2003 +0000
@@ -468,7 +468,9 @@
 				ALLOW_TAG("h4");
 				ALLOW_TAG("h5");
 				ALLOW_TAG("h6");
-				ALLOW_TAG("html");
+				/* we only allow html to start the message */
+				if(c == html)
+					ALLOW_TAG("html");
 				ALLOW_TAG_ALT("i", "em");
 				ALLOW_TAG_ALT("italic", "em");
 				ALLOW_TAG("li");