- The latest version of tidy broke compatibility and expects different

command-line options. It seems that this is the correct fix for the
  earlier problems.

Approved by:	doceng (implicit)
This commit is contained in:
Gabor Kovesdan 2012-09-03 19:47:51 +00:00
parent 1e95d140ac
commit 6b67dd8ee6
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/projects/sgml2xml/; revision=39494

View file

@ -257,10 +257,11 @@ TOUCH?= /usr/bin/touch
XARGS?= /usr/bin/xargs
GROFF?= groff
.if empty(LANGCODE:S/./ . /g:MISO8859-1)
TIDYOPTS?= -wrap 90 -m -raw -preserve -f /dev/null -asxml ${TIDYFLAGS}
TIDY_VER!= ${TIDY} -v
.if ${TIDY_VER} == "HTML Tidy for FreeBSD released on 7 December 2008"
TIDYOPTS?= -wrap 90 -m -raw --preserve-entities yes -f /dev/null -asxml ${TIDYFLAGS}
.else
TIDYOPTS?= -wrap 90 -m -f /dev/null -asxml ${TIDYFLAGS}
TIDYOPTS?= -wrap 90 -m -raw -preserve -f /dev/null -asxml ${TIDYFLAGS}
.endif
HTML2TXT?= ${PREFIX}/bin/links
HTML2TXTOPTS?= -dump -width 72 ${HTML2TXTFLAGS}