[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #62257] [man] don't slice the center footer in the middle of an esc
From: |
G. Branden Robinson |
Subject: |
[bug #62257] [man] don't slice the center footer in the middle of an escape sequence |
Date: |
Thu, 7 Apr 2022 19:05:09 -0400 (EDT) |
Update of bug #62257 (project groff):
Status: In Progress => Fixed
Open/Closed: Open => Closed
Planned Release: None => 1.23.0
_______________________________________________________
Follow-up Comment #2:
commit 223814d9c217a8ac137e9e521297377572e31526
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date: Fri Apr 8 07:48:45 2022 +1000
[man]: Abbreviate TH arguments more carefully.
* tmac/an.tmac: Do it.
(an*scan-string-for-backslash): Add new helper macro.
(an*abbreviate-inner-footer): Rewrite. Use the foregoing and a
different technique to compute available space and shorten the string.
So that we don't break the inner footer in the middle of an escape
sequence, just trim characters from the end.
Fixes <https://savannah.gnu.org/bugs/?62257>.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?62257>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/