mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-10 18:23:28 +00:00
Added <hr> and <br> to be recognized as HTML in attributes
SVN revision: 877
This commit is contained in:
parent
901d4b928d
commit
75b7fe3738
10
src/elogd.c
10
src/elogd.c
@ -6,6 +6,9 @@
|
|||||||
Contents: Web server program for Electronic Logbook ELOG
|
Contents: Web server program for Electronic Logbook ELOG
|
||||||
|
|
||||||
$Log$
|
$Log$
|
||||||
|
Revision 1.327 2004/05/19 20:27:50 midas
|
||||||
|
Added <hr> and <br> to be recognized as HTML in attributes
|
||||||
|
|
||||||
Revision 1.326 2004/05/18 21:46:08 midas
|
Revision 1.326 2004/05/18 21:46:08 midas
|
||||||
Allow ',' and '.' and '-' for numeric format
|
Allow ',' and '.' and '-' for numeric format
|
||||||
|
|
||||||
@ -4475,7 +4478,12 @@ int is_html(char *s)
|
|||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (strstr(str, "<IMG") && strchr(str, '>')) {
|
if (strstr(str, "<BR>")) {
|
||||||
|
free(str);
|
||||||
|
return TRUE;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (strstr(str, "<HR>")) {
|
||||||
free(str);
|
free(str);
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user