https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252198

            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: b...@freebsd.org
          Reporter: rwat...@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 mean
time.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to