From 5f14f8b75e50ecbe6be2d7c95e8877bf625a910e Mon Sep 17 00:00:00 2001 From: Stefan Ritt Date: Mon, 14 Mar 2005 20:07:46 +0000 Subject: [PATCH] Show attributes as HTML if they contain '' etc. SVN revision: 1247 --- src/elogd.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/elogd.c b/src/elogd.c index 8ff4fe79..a51d4019 100755 --- a/src/elogd.c +++ b/src/elogd.c @@ -6,6 +6,9 @@ Contents: Web server program for Electronic Logbook ELOG $Log$ + Revision 1.587 2005/03/14 20:07:46 ritt + Show attributes as HTML if they contain '' etc. + Revision 1.586 2005/03/14 20:00:34 ritt Fixed problem with multiple extendable options @@ -5437,12 +5440,8 @@ int is_html(char *s) return TRUE; } - if (strstr(str, "
")) { - xfree(str); - return TRUE; - } - - if (strstr(str, "
")) { + if (strstr(str, "
") || strstr(str, "
") || strstr(str, "") || strstr(str, "") || + strstr(str, "

")){ xfree(str); return TRUE; }