W3C home > Mailing lists > Public > html-tidy@w3.org > January to March 2000

[BUGFIX] Tidy doesn't report invalid options in the config file

From: J. David Bryan <jdbryan@acm.org>
Date: Sat, 5 Feb 2000 02:00:05 -0500
Message-Id: <200002050700.CAA12694@mail.bcpl.net>
To: HTML Tidy List <html-tidy@w3.org>
This report is for the Tidy version of 13th January 2000.

If an invalid configuration option is specified in the configuration file, 
Tidy silently ignores it.  This is bad because the invalid option may be a 
misspelling of a proper option, e.g., "keep-tine" instead of "keep-time".  
As a result, Tidy may be doing something drastically different than what is 

The solution is to change line 446 in config.c from:



    if (!entry)


Note that Tidy already reports invalid options that are specified on the 
command line.

                                      -- Dave
Received on Saturday, 5 February 2000 02:00:18 UTC

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