Force tidy(1) to use '-raw' and newly added '-preserve' options

to process generated HTML. This not cause any side effects except
leaving some character entities in their numeric form instead
converting them into alphabetical notation (< instead of <),
but since all browsers understand such cases it is not a problem.

This commit should make all translations tidy clean, since
tidy should not arise entities conversion problem as it did
for long time before. Therefore all occurences of manual settings
of TIDYFLAGS and NO_TIDY declarations for translations are removed.

No objections from: -doc
Requested by: Russian and Japanese translation teams
This commit is contained in:
Alexey Zelkin 2001-12-12 11:49:38 +00:00
parent 725359d160
commit 54cf68eab2
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=11411
24 changed files with 11 additions and 50 deletions

View file

@ -180,7 +180,7 @@ XARGS?= /usr/bin/xargs
TEX?= ${PREFIX}/bin/tex
PDFTEX?= ${PREFIX}/bin/pdftex
TIDY?= ${PREFIX}/bin/tidy
TIDYOPTS?= -i -m -f /dev/null ${TIDYFLAGS}
TIDYOPTS?= -i -m -raw -preserve -f /dev/null ${TIDYFLAGS}
HTML2TXT?= ${PREFIX}/bin/links
HTML2TXTOPTS?= -dump ${HTML2TXTFLAGS}
HTML2PDB?= ${PREFIX}/bin/iSiloBSD

View file

@ -68,7 +68,7 @@ TAR?= /usr/bin/tar
XARGS?= /usr/bin/xargs
TIDY?= ${PREFIX}/bin/tidy
TIDYOPTS?= -i -m -f /dev/null ${TIDYFLAGS}
TIDYOPTS?= -i -m -raw -preserve -f /dev/null ${TIDYFLAGS}
HTML2TXT?= ${PREFIX}/bin/links
HTML2TXTOPTS?= -dump ${HTML2TXTFLAGS}
HTML2PDB?= ${PREFIX}/bin/iSiloBSD