Up to [cvsweb.bsd.lv] / mandoc / regress / man / HP
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: MAIN
Revision 1.3 / (download) - annotate - [select for diffs], Fri Oct 16 17:22:45 2020 UTC (3 years, 6 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_14_6,
HEAD
Changes since 1.2: +6 -12 lines
Diff to previous 1.2 (unified)
In HTML output, avoid printing a newline right after <pre> and right before </pre> because that resulted in vertical whitespace not requested by the manual page author. Formatting bug reported by Aman Verma <amanraoverma plus vim at gmail dot com> on discuss@.
Revision 1.2 / (download) - annotate - [select for diffs], Tue Sep 3 18:19:40 2019 UTC (4 years, 8 months ago) by schwarze
Branch: MAIN
Changes since 1.1: +0 -2 lines
Diff to previous 1.1 (unified)
adapt to new <p> output logic (html.c rev. 1.260)
Revision 1.1 / (download) - annotate - [select for diffs], Sun Jan 6 04:55:10 2019 UTC (5 years, 4 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_14_5
Finally, represent the man(7) .PP and .HP macros by the natural choice, which is the <p> HTML element. On top of the previous fill-mode improvements, the key to making this possible is to automatically close the <p> when required: before headers, subsequent paragraphs, lists, indented blocks, synopsis blocks, tbl(7) blocks, and before blocks using no-fill mode. In man(7) documents, represent the .sp request by a blank line in no-fill mode and in the same way as .PP in fill mode.