Treat attributes with <img> as HTML
SVN revision: 1426
This commit is contained in:
@@ -6,6 +6,9 @@
|
||||
Contents: Web server program for Electronic Logbook ELOG
|
||||
|
||||
$Log$
|
||||
Revision 1.701 2005/07/08 20:18:04 ritt
|
||||
Treat attributes with <img> as HTML
|
||||
|
||||
Revision 1.700 2005/07/07 20:02:43 ritt
|
||||
Added 'suppress default = 3'
|
||||
|
||||
@@ -5924,6 +5927,11 @@ int is_html(char *s)
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
if (strstr(str, "<IMG") && strchr(str, '>')) {
|
||||
xfree(str);
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
if (strstr(str, "<BR>") || strstr(str, "<HR>") || strstr(str, "<B>") || strstr(str, "<I>") ||
|
||||
strstr(str, "<P>")) {
|
||||
xfree(str);
|
||||
|
||||
Reference in New Issue
Block a user