gbranden pushed a commit to branch master
in repository groff.

commit c43a271c701e87bafe717ee48cfeb78ea7de2040
Author: G. Branden Robinson <[email protected]>
AuthorDate: Tue Mar 10 09:04:52 2026 -0500

    [groff]: Drop commentary from test input.
    
    There's no specification for `asciify`, so it's up to us to construct
    one.  In my opinion, when invoking the `sp` request with the ordinary
    control character, _even if_ the previous text line used output line
    continuation (`\c`), the vertical space node produces should convert to
    a word space.
    
    In other words, a diverted:
    
    foo\c
    .sp
    bar
    
    ...should asciify as "foo bar", not "foobar".
    
    On the other hand, a diverted:
    
    foo\c
    'sp
    bar
    
    ...should asciify as "foobar", because using `sp` with the no-break
    space character _moves the baseline of the *pending* output line_.
---
 src/roff/groff/tests/asciify-request-works.sh | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/roff/groff/tests/asciify-request-works.sh 
b/src/roff/groff/tests/asciify-request-works.sh
index c1e4be91e..66bd2373f 100755
--- a/src/roff/groff/tests/asciify-request-works.sh
+++ b/src/roff/groff/tests/asciify-request-works.sh
@@ -73,8 +73,6 @@ A#[dq]#[e aa]#[u00E1]#[u0106]o#[Fl]#[Z]
 .ec $
 .box DIV2
 $%antimatter15@$b"hup"16@$c
-.$" Use the no-break control character because the ordinary one still
-.$" results in a newline in asciified diversion.  Bug?
 .c2 !
 !sp
 .c2

_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit

Reply via email to