--- LYCharUtils.c-was Wed May 8 21:00:19 2002 +++ LYCharUtils.c Wed May 8 21:06:23 2002 @@ -2814,6 +2814,15 @@ LYTrimTail(content); LYLowerCase(content); + cp = strstr(content, "text-html;"); + if (cp) + /* + * support broken M$ docs that use "text-html" instead of + * "text/html" - VH + */ + cp[4] = '/'; + + if ((cp = strstr(content, "text/html;")) != NULL && (cp1 = strstr(content, "charset")) != NULL && cp1 > cp) {