From 5b9e969a8fb5b0af16dfc78ed0f25f760bc9d51e Mon Sep 17 00:00:00 2001 From: Stefan Ritt Date: Thu, 26 Feb 2004 13:16:34 +0000 Subject: [PATCH] Show attribute values as HTML if the contain or in listing SVN revision: 798 --- src/elogd.c | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/src/elogd.c b/src/elogd.c index f0624209..40d41f9a 100755 --- a/src/elogd.c +++ b/src/elogd.c @@ -6,6 +6,9 @@ Contents: Web server program for Electronic Logbook ELOG $Log$ + Revision 1.269 2004/02/26 13:16:34 midas + Show attribute values as HTML if the contain or in listing + Revision 1.268 2004/02/26 13:09:14 midas Show attribute values as HTML if the contain or @@ -10398,9 +10401,17 @@ void display_line(LOGBOOK * lbs, int message_id, int number, char *mode, } else { - rsprintf("", sclass, ref); - rsputs2(attrib[i]); - rsprintf(" "); + rsprintf("", sclass); + + if (is_html(attrib[i])) + rsputs(attrib[i]); + else { + rsprintf("", ref); + rsputs2(attrib[i]); + rsprintf(""); + } + + rsprintf(" "); } } }