summaryrefslogtreecommitdiffstats
path: root/regress/mdoc/Bd/nested.in
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2021-03-30 17:16:55 +0000
committerIngo Schwarze <schwarze@openbsd.org>2021-03-30 17:16:55 +0000
commit0ae41972c4e3731fd95da0071fd4ea8501373d4f (patch)
tree3ae3368e68503abd5f450793423998cad8684be8 /regress/mdoc/Bd/nested.in
parentc63ee798a9310c8a36fbe2306ddf1420cfffd12c (diff)
downloadmandoc-0ae41972c4e3731fd95da0071fd4ea8501373d4f.tar.gz
Append .html suffix to temporary files enabling browsers to recognise it.
Occasionally one might read a manual page in a webbrowser, e.g. "MANPAGER=firefox man -T html jq", however temporary files created for pagers lack file extensions and most web browsers are unable to detect a file's content without it. Special case mandoc(1)'s HTML output format by appending the ".html" suffix to file names such that browsers will actually render HTML as such instead of showing it as plain text. Idea and patch from kn@, with minor help from me.
Diffstat (limited to 'regress/mdoc/Bd/nested.in')
0 files changed, 0 insertions, 0 deletions