From: Lee Date: Wed, 14 Mar 2018 11:01:16 +0000 (-0400) Subject: workaround for tidy -indent -wrap breaking
 formatting
X-Git-Tag: v_3_0_27~66
X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=commitdiff_plain;h=c6c5c067bb9119640ff95ec5e3cd03c129b2e12d

workaround for tidy -indent -wrap breaking 
 formatting

tidy -indent -wrap 78  messes up the formatting of a long
line following a 
 tag by splitting the line into 
and the text and indenting both.  eg
a really long line
is turned into
          a really long line
and we end up with lots of leading spaces. change the line wrap to column 120 and hope that's enough to keep this bug from happening --- diff --git a/GNUmakefile.in b/GNUmakefile.in index 892ce38b..b7ab77f8 100644 --- a/GNUmakefile.in +++ b/GNUmakefile.in @@ -145,7 +145,7 @@ PERL = perl DOC_DIR = doc/source DOC_TMP = $(DOC_DIR)/tmp DOC_STATUS = @DOC_STATUS@ -TIDY = tidy -modify -indent -wrap 78 --tidy-mark no +TIDY = tidy -modify -indent -wrap 120 --tidy-mark no RSYNC = rsync -av -c --chmod=D755,F644 # Program to do LF->CRLF