[BACK]Return to paragraph.out_html CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc / regress / man / RS

File: [cvsweb.bsd.lv] / mandoc / regress / man / RS / paragraph.out_html (download)

Revision 1.1, Sun Jan 6 04:55:12 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.

BEGINTEST before paragraph
<p class="Pp">regular paragraph</p>
<div class="Bd-indent">indented paragraph
<p class="Pp">nested paragraph</p>
</div>
regular text after display
<br/>
ENDTEST