Up to [cvsweb.bsd.lv] / mandoc / regress / mdoc / Rs
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.7 / (download) - annotate - [select for diffs], Sat Jan 25 00:22:29 2025 UTC (4 months, 4 weeks ago) by schwarze
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +8 -8 lines
Diff to previous 1.6 (colored)
Fix a violation of the HTML 5 standard (paragraph 4.5.6 "The cite element"). It is intended for titles, not to wrap complete citation blocks. Found in a conversation with job@ and tb@.
Revision 1.6 / (download) - annotate - [select for diffs], Wed Jul 6 14:35:07 2022 UTC (2 years, 11 months ago) by schwarze
Branch: MAIN
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)
While the HTML standard allows multiple <h1> elements in the same document, <h1> is intended for top level headers, and most of the sections in a manual page can hardly be considered top-level. It is more usual to use <h1> only for the main title of the document of for the site name. Consequently, move .Sh/.SH from <h1> to <h2> and .Ss/.SS from <h2> to <h3>, freeing <h1> for use by header.html in man.cgi(8). Discussed with Anna Vyalkova <cyber at sysrq dot in>.
Revision 1.5 / (download) - annotate - [select for diffs], Fri Oct 16 17:22:51 2020 UTC (4 years, 8 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_14_6
Changes since 1.4: +0 -1 lines
Diff to previous 1.4 (colored)
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.4 / (download) - annotate - [select for diffs], Tue Sep 3 18:19:49 2019 UTC (5 years, 9 months ago) by schwarze
Branch: MAIN
Changes since 1.3: +4 -6 lines
Diff to previous 1.3 (colored)
adapt to new <p> output logic (html.c rev. 1.260)
Revision 1.3 / (download) - annotate - [select for diffs], Fri Mar 1 10:57:21 2019 UTC (6 years, 3 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_14_5
Changes since 1.2: +2 -0 lines
Diff to previous 1.2 (colored)
Wrap .Sh/.SH sections and .Ss/.SS subsections in HTML <section> elements as recommended for accessibility by the HTML 5 standard. Triggered by a similar, but slightly different suggestion from Laura Morales <lauretas at mail dot com>.
Revision 1.2 / (download) - annotate - [select for diffs], Fri Jan 11 12:56:47 2019 UTC (6 years, 5 months ago) by schwarze
Branch: MAIN
Changes since 1.1: +8 -9 lines
Diff to previous 1.1 (colored)
Remove the HTML title= attributes which harmed accessibility and violated the principle of separation of content and presentation. Instead, implement the tooltips purely in CSS. Thanks to John Gardner <gardnerjohng at gmail dot com> for suggesting most of the styling in the new ::before rules.
Revision 1.1 / (download) - annotate - [select for diffs], Mon Jan 7 07:26:35 2019 UTC (6 years, 5 months ago) by schwarze
Branch: MAIN
Represent mdoc(7) .Pp (and .sp, and some SYNOPSIS and .Rs features) by the <p> HTML element and use the html_fillmode() mechanism for .Bd -unfilled, just like it was done for man(7) earlier, finally getting rid both of the horrible <div class="Pp"></div> hack and of the worst HTML syntax violations caused by nested displays. Care is needed because in some situations, paragraphs have to remain open across several subsequent macros, whereas in other situations, they must get closed together with a block containing them. Some implementation details include: * Always close paragraphs before emitting HTML flow content. * Let html_close_paragraph() also close <pre> for extra safety. * Drop the old, now unused function print_paragraph(). * Minor adjustments in the top-level man(7) node formatter for symmetry. * Bugfix: .Ss heads suspend no-fill mode, even though .Ss doesn't end it. * Bugfix: give up on .Op semantic markup for now, see the comment.