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

Bug: -i != -indent

From: Randy Waki <rwaki@flipdog.com>
Date: Fri, 4 Aug 2000 16:11:35 -0600
To: <html-tidy@w3.org>
Message-ID: <000501bffe60$f457e620$51eee13f@rwaki>

Thanks for the new release!

I've discovered a minor problem that has been present in the past
several releases.

The -i command line option sets IndentContent and SmartIndent, but the
-indent command line option only sets IndentContent.  I don't know which
is correct, but I get the impression they are supposed to function
identically.  This may be caused by an apparent oversight in the if-else
parsing logic in tidy.c, where "indent" is tested for twice (the second
test will obviously never succeed).

Received on Friday, 4 August 2000 18:12:17 UTC

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