git: 231d7c0a22 - main - special handling for bullets
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 19 Mar 2023 08:20:46 UTC
The branch main has been updated by wosch: URL: https://cgit.FreeBSD.org/doc/commit/?id=231d7c0a225c088bd9cabccfc0573360a2fd60d4 commit 231d7c0a225c088bd9cabccfc0573360a2fd60d4 Author: Wolfram Schneider <wosch@FreeBSD.org> AuthorDate: 2023-03-19 08:20:29 +0000 Commit: Wolfram Schneider <wosch@FreeBSD.org> CommitDate: 2023-03-19 08:20:29 +0000 special handling for bullets PR: 270302 Reported by: gbe --- website/content/en/cgi/man.cgi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/website/content/en/cgi/man.cgi b/website/content/en/cgi/man.cgi index 1016c322a1..45f5fe7ef0 100755 --- a/website/content/en/cgi/man.cgi +++ b/website/content/en/cgi/man.cgi @@ -1861,6 +1861,9 @@ sub encode_data { s/\</\<\;/g; s/\>/\>\;/g; + # bold bullet + s,\+\010\+\010o\010o,<b>o</b>,g; + # underline: _^H.^H(.) s,((_\010[^_]\010.)+),($str = $1) =~ s/_\010..//g; "<I>$str</I>";,ge;