e876051d36900f2d5ceed25e0785640bc870cdb6 tdreszer Tue Apr 26 16:59:26 2011 -0700 Make that exclusions of IE < 8. diff --git src/lib/htmshell.c src/lib/htmshell.c index b13cdbc..0b75a74 100644 --- src/lib/htmshell.c +++ src/lib/htmshell.c @@ -379,31 +379,31 @@ printf("\n"); } void _htmStartWithHead(FILE *f, char *head, char *title, boolean printDocType, int dirDepth) /* Write out bits of header that both stand-alone .htmls * and CGI returned .htmls need, including optional head info */ { if (printDocType) { //#define TOO_TIMID_FOR_CURRENT_HTML_STANDARDS #ifdef TOO_TIMID_FOR_CURRENT_HTML_STANDARDS fputs("\n", f); #else///ifndef TOO_TIMID_FOR_CURRENT_HTML_STANDARDS char *browserVersion; - if (btIE == cgiClientBrowser(&browserVersion, NULL, NULL) && *browserVersion != '8') + if (btIE == cgiClientBrowser(&browserVersion, NULL, NULL) && *browserVersion < '8') fputs("\n", f); else fputs("",f); // Strict would be nice since it fixes atleast one IE problem (use of :hover CSS pseudoclass) //fputs("\n",f); #endif///ndef TOO_TIMID_FOR_CURRENT_HTML_STANDARDS } fputs("", f); fprintf(f,"\n%s%s\n", head, title); fprintf(f, "\t\n"); if (htmlStyle != NULL) fputs(htmlStyle, f); fputs("\n\n",f); fputs("