From: "Anthony J. Bentley" <anthony@anjbe.name> To: tech@mandoc.bsd.lv Subject: Implicit Pp in HTML mode Date: Thu, 13 Jun 2019 01:26:07 -0600 [thread overview] Message-ID: <52570.1560410767@desktop.ajb.soy> (raw) Hi, It's common in mdoc(7) to leave out a Pp immediately after Sh: .Sh DESCRIPTION For each operand that names a When mandoc(1) converts this to HTML, it doesn't add a <p> tag in front. Although this is not a validation error, it does mean the resulting DOM is not what's expected. If you add "p { color: red; }" to the stylesheet, it's immediately clear that the first paragraph of a section is not and cannot be styled like the rest, because there's nothing telling the browser that it's a paragraph in the first place. Because it is semantically a paragraph, it should be wrapped in <p> in HTML output. -- Anthony J. Bentley -- To unsubscribe send an email to tech+unsubscribe@mandoc.bsd.lv
next reply other threads:[~2019-06-13 7:26 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2019-06-13 7:26 Anthony J. Bentley [this message] 2019-09-05 14:59 ` Ingo Schwarze
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=52570.1560410767@desktop.ajb.soy \ --to=anthony@anjbe.name \ --cc=tech@mandoc.bsd.lv \ --subject='Re: Implicit Pp in HTML mode' \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).