- Only drop -raw -preserve tidy flags when the encoding is ISO8859-1.

For other encodings, it caused rendering problems.

Approved by:	doceng (implicit)
This commit is contained in:
Gabor Kovesdan 2012-08-27 10:15:10 +00:00
parent 099677a42e
commit 54596e2fcd
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/projects/sgml2xml/; revision=39458

View file

@ -257,7 +257,11 @@ TOUCH?= /usr/bin/touch
XARGS?= /usr/bin/xargs
GROFF?= groff
TIDYOPTS?= -wrap 90 -m -f /dev/null -asxml ${TIDYFLAGS}
.if empty(LANGCODE:S/./ . /g:MISO8859-1)
TIDYOPTS?= -wrap 90 -m -raw -preserve -f /dev/null -asxml ${TIDYFLAGS}
.else
TIDYOPTS?= -wrap 90 -m -f /dev/null -asxml ${TIDYFLAGS
.endif
HTML2TXT?= ${PREFIX}/bin/links
HTML2TXTOPTS?= -dump -width 72 ${HTML2TXTFLAGS}
HTML2PDB?= ${PREFIX}/bin/iSiloBSD