Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Mar 2023 08:20:46 GMT
From:      Wolfram Schneider <wosch@FreeBSD.org>
To:        doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org
Subject:   git: 231d7c0a22 - main - special handling for bullets
Message-ID:  <202303190820.32J8KkQ8093392@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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/\</\&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;
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202303190820.32J8KkQ8093392>