diff --git a/share/mk/doc.html.mk b/share/mk/doc.html.mk
index d59819bf84..b7758eac28 100644
--- a/share/mk/doc.html.mk
+++ b/share/mk/doc.html.mk
@@ -63,7 +63,7 @@ PKG_CREATE?= /usr/sbin/pkg_create
TAR?= /usr/bin/tar
XARGS?= /usr/bin/xargs
-TIDYOPTS?= -i -m -raw -preserve -f /dev/null -asxml ${TIDYFLAGS}
+TIDYOPTS?= -wrap 90 -m -raw -preserve -f /dev/null -asxml ${TIDYFLAGS}
HTML2PDB?= ${PREFIX}/bin/iSiloBSD
HTML2PDBOPTS?= -y -d0 -Idef ${HTML2PDBFLAGS}