From 247f7b0531dcf3eb16dc10ebd4b306e9c0fd4537 Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Mallo Date: Wed, 8 May 2024 21:23:49 +0200 Subject: Unset MANROFFOPT before running man Options used for nroff may not be suitable for the HTML postprocessor. See: https://github.com/dillo-browser/dillo-plugin-man/issues/1#issuecomment-2095770618 --- man.filter.dpi | 1 + 1 file changed, 1 insertion(+) (limited to 'man.filter.dpi') diff --git a/man.filter.dpi b/man.filter.dpi index fff0087..c028235 100755 --- a/man.filter.dpi +++ b/man.filter.dpi @@ -61,6 +61,7 @@ serve_manpage() { else printf "\n" printf "Content-type: text/html\r\n\r\n" + unset MANROFFOPT man -Thtml $manpage | inject_css | link_xrefs 2>&1 fi } -- cgit v1.2.3