diff --git a/src/elogd.c b/src/elogd.c index 591a6596..32bd9151 100755 --- a/src/elogd.c +++ b/src/elogd.c @@ -6,6 +6,9 @@ Contents: Web server program for Electronic Logbook ELOG $Log$ + Revision 1.709 2005/07/21 09:19:13 ritt + Put back erraneously deleted lines + Revision 1.708 2005/07/20 21:24:01 ritt Implemented conditional attributes also for display @@ -6196,6 +6199,12 @@ void rsputs2(const char *str) strcat(return_buffer, ">"); j += 4; break; + + /* suppress escape character '\' in front of HTML or ELCode tag */ + case '\\': + if (str[i+1] != '<' && str[i+1] != '[') + return_buffer[j++] = str[i]; + break; /* the translation for the search highliting */ case '\001':