From 3c6d2e2a6177ae087d869ead8ec5ee2cb75efa67 Mon Sep 17 00:00:00 2001 From: Stefan Ritt Date: Fri, 8 Jul 2005 20:18:04 +0000 Subject: [PATCH] Treat attributes with as HTML SVN revision: 1426 --- src/elogd.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/elogd.c b/src/elogd.c index ee21fc09..ec42ec61 100755 --- a/src/elogd.c +++ b/src/elogd.c @@ -6,6 +6,9 @@ Contents: Web server program for Electronic Logbook ELOG $Log$ + Revision 1.701 2005/07/08 20:18:04 ritt + Treat attributes with as HTML + Revision 1.700 2005/07/07 20:02:43 ritt Added 'suppress default = 3' @@ -5924,6 +5927,11 @@ int is_html(char *s) return TRUE; } + if (strstr(str, "')) { + xfree(str); + return TRUE; + } + if (strstr(str, "
") || strstr(str, "
") || strstr(str, "") || strstr(str, "") || strstr(str, "

")) { xfree(str);