src/html.c

changeset 7014
11471fae7ba0
parent 6516
ea1e11634bf5
child 7094
8f9588491993
--- 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");

mercurial