diff src/scanner.cpp @ 33:ce229348cdbe stable-2-6

failed to lowercase the first char of html tags
author carl
date Sat, 29 May 2004 15:36:14 -0700
parents d16b27371533
children ccf2c2651c1d
line wrap: on
line diff
--- a/src/scanner.cpp	Sat May 29 15:05:45 2004 -0700
+++ b/src/scanner.cpp	Sat May 29 15:36:14 2004 -0700
@@ -982,7 +982,7 @@
             case t_end: {
                 if (count > 1) {
                     pending[--count] = '\0';  // null terminate html tag
-                    for (int i=1; i<count; i++) pending[i] = tolower(pending[i]);
+                    for (int i=0; i<count; i++) pending[i] = tolower(pending[i]);
                     memory->new_tag((char*)pending);
                 }
                 st = (c == ' ') ? t_disc : t_init;