bug-cgicc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-cgicc] cgicc bug?


From: John Cochran
Subject: [bug-cgicc] cgicc bug?
Date: Thu, 17 Feb 2005 17:02:29 -0500 (EST)

Greetings,

It seems that the HTMLClasses.h file is missing quite a few html tags.
An easy work around is the place the BOOLEAN_ELEMENT() and ATOMIC_ELEMENT()
macros within my source code, but anyway it surprised me that two 
basic tags "font" and "center" were missing from the default installation.
Here is a diff that will add the missing tags.

--- CUT HERE ---
diff -U 5 cgicc.old/HTMLClasses.h cgicc/HTMLClasses.h
--- cgicc.old/HTMLClasses.h     Thu Feb 17 16:53:24 2005
+++ cgicc/HTMLClasses.h Thu Feb 17 16:57:47 2005
@@ -136,10 +136,11 @@
   ATOMIC_ELEMENT  (br,         "br");         // line break
   BOOLEAN_ELEMENT (pre,        "pre");        // preformatted text
   BOOLEAN_ELEMENT (ins,        "ins");        // inserted text
   BOOLEAN_ELEMENT (del,        "del");        // deleted text
   BOOLEAN_ELEMENT (bdo,        "bdo");        // overriding direction
+  BOOLEAN_ELEMENT (center,     "center");     // center text
   
   // lists
   
   BOOLEAN_ELEMENT (ul,         "ul");         // unordered list
   BOOLEAN_ELEMENT (ol,         "ol");         // ordered list
@@ -181,10 +182,11 @@
   BOOLEAN_ELEMENT (tt,         "tt");         // monospaced text
   BOOLEAN_ELEMENT (i,          "i");          // italic text style
   BOOLEAN_ELEMENT (b,          "b");          // bold text style
   BOOLEAN_ELEMENT (big,        "big");        // large font
   BOOLEAN_ELEMENT (small,      "small");      // small font
+  BOOLEAN_ELEMENT (font,       "font");       // arbitrary font
   
   // frames - not part of the strict DTD
   
   BOOLEAN_ELEMENT (frameset,   "frameset");   // frame layout
   ATOMIC_ELEMENT  (frame,      "frame");      // frame contents




reply via email to

[Prev in Thread] Current Thread [Next in Thread]