From: Lee <ler762@users.sourceforge.net> Date: Wed, 14 Mar 2018 11:01:16 +0000 (-0400) Subject: workaround for tidy -indent -wrap breaking <pre> formatting X-Git-Tag: v_3_0_27~66 X-Git-Url: http://www.privoxy.org/gitweb/%22https:/developer-manual/user-manual/faq/static/@default-cgi@toggle?a=commitdiff_plain;h=c6c5c067bb9119640ff95ec5e3cd03c129b2e12d;p=privoxy.git workaround for tidy -indent -wrap breaking <pre> formatting tidy -indent -wrap 78 messes up the formatting of a long line following a <pre> tag by splitting the line into <pre> and the text and indenting both. eg <pre>a really long line</pre> is turned into <pre> a really long line</pre> 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