cgicc bug?
John Cochran <[email protected]> Thu, 17 Feb 2005 17:02:29 -0500 (EST)
| Newsgroups | gmane.comp.gcc.cgicc.bugs |
|---|---|
| Message-ID | <[email protected]> |
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