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(" "); } } }