From cbae924a4006ea3683668cbf664e6348c041454d Mon Sep 17 00:00:00 2001 From: Geoff McLane Date: Fri, 31 Jul 2015 13:30:31 +0200 Subject: [PATCH] Oops, missed setting 'type' for TidyVertSpace. This was evidenced by an 'assert' failure, that the type was not an 'int'! And also in the -xml-help output, thus effecting the tidy.1 manual page for this new feature --vertical-space auto, which produces almost single line html output. This 'fix' began in the issue-228 branch - see Issue #231 --- src/config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.c b/src/config.c index 335bc29..9ac6b9e 100644 --- a/src/config.c +++ b/src/config.c @@ -309,7 +309,7 @@ static const TidyOptionImpl option_defs[] = { TidyEmptyTags, MU, "new-empty-tags", ST, 0, ParseTagNames, NULL }, { TidyPreTags, MU, "new-pre-tags", ST, 0, ParseTagNames, NULL }, { TidyAccessibilityCheckLevel, DG, "accessibility-check", IN, 0, ParseAcc, accessPicks }, - { TidyVertSpace, PP, "vertical-space", BL, no, ParseAutoBool, autoBoolPicks }, /* #228 - tri option */ + { TidyVertSpace, PP, "vertical-space", IN, no, ParseAutoBool, autoBoolPicks }, /* #228 - tri option */ #if SUPPORT_ASIAN_ENCODINGS { TidyPunctWrap, PP, "punctuation-wrap", BL, no, ParseBool, boolPicks }, #endif