Fix the HTML rendering of man pages to avoid markdown reinterpretation
authorRichard Levitte <levitte@openssl.org>
Mon, 27 Nov 2023 14:07:17 +0000 (15:07 +0100)
committerRichard Levitte <levitte@openssl.org>
Mon, 27 Nov 2023 15:42:47 +0000 (16:42 +0100)
commitc57ca99f0c927a217c1a1aa557841ee49bf682f4
tree11c7e896b62df83437ff5c09c73584a595af729a
parent9444694e4f52a49ed82606824394f6f83ac6beba
Fix the HTML rendering of man pages to avoid markdown reinterpretation

Some of our manpages have the construct "[something](somethingelse)".

From a POD and HTML perspective, there's nothing special with that.
However, since we wrap the HTML with markdown (perfectly legitimate), we
need to pay attention that nothing in the HTML can reasonably be
reinterpreted as markdown.

Unfortunately, the construct mentioned about has that issue.

This is easily fixed by replacing '](' with '&rbrack;(', which is valid
HTML5.

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/web/pull/443)
bin/fix-man-html [new file with mode: 0755]
bin/mk-manpagetts
bin/mk-manpagetts3