Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Dec 2020 11:44:12 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 252198] Unescaped backslash renders to incorrect code example in xo_emit.3
Message-ID:  <bug-252198-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D252198

            Bug ID: 252198
           Summary: Unescaped backslash renders to incorrect code example
                    in xo_emit.3
           Product: Base System
           Version: Unspecified
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: rwatson@FreeBSD.org

The xo_emit.3 man page fail to escape a backslash properly, leading to an
incorrect code example when rendered.

               xo_emit(" {:lines/%7ju} {:words/%7ju} "
                       "{:characters/%7ju} {d:filename/%s}0,
                       linect, wordct, charct, file);

Escaping properly using "\en" fixes this problem. Patch submitted upstream =
to
libxo, but it's not clear that they are currently processing pull requests.

    https://github.com/Juniper/libxo/pull/76

So we might want to incorporate this change directly into contrib in the me=
an
time.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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