git: 231d7c0a22 - main - special handling for bullets

Wolfram Schneider <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
The branch main has been updated by wosch:

URL: https://cgit.FreeBSD.org/doc/commit/?id=231d7c0a225c088bd9cabccfc0573360a2fd60d4

commit 231d7c0a225c088bd9cabccfc0573360a2fd60d4
Author:     Wolfram Schneider <[email protected]>
AuthorDate: 2023-03-19 08:20:29 +0000
Commit:     Wolfram Schneider <[email protected]>
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/\</\&lt\;/g;
     s/\>/\&gt\;/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;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.