[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #50771] mdoc(7) .Lk intends to handle punctuation, but fails to do

From: G. Branden Robinson
Subject: [bug #50771] mdoc(7) .Lk intends to handle punctuation, but fails to do so
Date: Wed, 15 Jun 2022 14:28:53 -0400 (EDT)

Update of bug #50771 (project groff):

                Category:                    None => Macro mdoc             
             Assigned to:            carstenkunze => schwarze               


Follow-up Comment #2:

commit 2464569cae9e21a7bff31fa78b563f2502bec94f
Author: Ingo Schwarze <schwarze@usta.de>
Date:   Mon Apr 10 22:41:24 2017 +0200

    tmac/doc.tmac-u: Punctuation handling of .Lk fixed
    The implementation of the groff_mdoc(7) .Lk (hyperlink) macro
    contains code to make sure that the second argument is not
    punctuation before treating it as a link text, but the test
    can never lead to the result "punctuation" because the
    initialization of the global variable doc-width was missing
    before the call to doc-get-arg-type.  Consequently, even "."
    was not recognized as punctuation.


Reply to this item at:


Message sent via Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]