diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2021-03-28 11:54:45 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2021-03-28 11:54:45 -0700 |
commit | b71246fa13d1bf81bb7dce4dee4c6b40dcd0f120 (patch) | |
tree | ae5810e2f51ed9e0c0282a0787ff6443956298cd /configure | |
parent | f684e2326a56b2e8d648f99113460de602e65691 (diff) | |
download | man-b71246fa13d1bf81bb7dce4dee4c6b40dcd0f120.tar.gz man-b71246fa13d1bf81bb7dce4dee4c6b40dcd0f120.tar.bz2 man-b71246fa13d1bf81bb7dce4dee4c6b40dcd0f120.zip |
Fix bug handling escape code at end of a line.
When scan_troff expands an escape, it calls FLUSHIBP, which
nukes all previous context. If the escape is subsequently
followed by a newline, it looks like the newline at the start
of a line, which is consumed. There is a subtlety there that
we also want to preserve a newline after an escape in
preformatted mode.
This fix addresses at least two issues in the TXR Man page.
One is that occurrences of the \*(TL and \*(TX at the ends of
lines are causing run-on output: the expansion gets glued to
the word which follows in the next line. The other issue
is that in some code exmaple blocks, lines ending in a
backslash (encoded as the \e escape) are being joined.
Diffstat (limited to 'configure')
0 files changed, 0 insertions, 0 deletions