discuss@mandoc.bsd.lv
 help / color / mirror / Atom feed
* mandoc inserts extraneous <br> tags inside <pre>
@ 2022-06-25 16:28 Mohamed Akram
  2022-06-26 11:16 ` Ingo Schwarze
  0 siblings, 1 reply; 5+ messages in thread
From: Mohamed Akram @ 2022-06-25 16:28 UTC (permalink / raw)
  To: discuss

[-- Attachment #1: Type: text/plain, Size: 461 bytes --]

Hi folks,

Thanks for this great and useful tool. I did notice a bug however in mandoc when using HTML output. It seems to insert <br> tags inside <pre> sections, which causes there to be double newlines since <pre> already preserves newlines. You can see it in this example which has many code samples in it:

curl https://raw.githubusercontent.com/apple-oss-distributions/tcl/tcl-134.121.2/tcl_ext/expect/expect/expect.man | mandoc -T html >example.html

[-- Attachment #2: Type: text/html, Size: 1178 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-06-26 17:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-25 16:28 mandoc inserts extraneous <br> tags inside <pre> Mohamed Akram
2022-06-26 11:16 ` Ingo Schwarze
2022-06-26 16:41   ` Mohamed Akram
2022-06-26 17:02     ` Ingo Schwarze
2022-06-26 17:29       ` Mohamed Akram

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).