W3C home > Mailing lists > Public > html-tidy@w3.org > July to September 1999

Problem specifying new-empty-tags, new-inline-tags and new-blocklevel-tags in config file.

From: Gary Deschaines <garyd.deschaines@netmechanic.com>
Date: Tue, 03 Aug 1999 16:17:40 -0500
Message-ID: <37A75C74.6407ACB0@netmechanic.com>
To: html-tidy@w3.org
HTML Tidy versions 7 July 1999 and 26 July 1999 both appear to contain
errors in the ParseTagNames routine which prevents the correct
installation of tag names for new-empty-tags, new-inline-tags and
new-blocklevel-tags specified in a "config" file.  The tag names within
the tags.c module are stored in lower case but the ParseTagNames routine
converts new tag names to uppercase.  Also, the do...while loop should
test for (c != '\r' && c != '\n' && c != EOF ) instead of just ( c !=
EOF ) to terminate parsing of tag names and proceed to the next

Gary Deschaines
Received on Tuesday, 3 August 1999 17:19:37 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:38:46 UTC