workaround for tidy -indent -wrap breaking <pre> formatting
authorLee <ler762@users.sourceforge.net>
Wed, 14 Mar 2018 11:01:16 +0000 (07:01 -0400)
committerLee <ler762@users.sourceforge.net>
Wed, 14 Mar 2018 11:01:16 +0000 (07:01 -0400)
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

GNUmakefile.in

index 892ce38..b7ab77f 100644 (file)
@@ -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