version 1.137, 2021/07/04 15:38:26 |
version 1.140, 2025/07/01 16:39:19 |
|
|
/* $Id$ */ |
/* $Id$ */ |
/* |
/* |
* Copyright (c) 2011-2021 Ingo Schwarze <schwarze@openbsd.org> |
* Copyright (c) 2011-2021, 2025 Ingo Schwarze <schwarze@openbsd.org> |
* |
* |
* Permission to use, copy, modify, and distribute this software for any |
* Permission to use, copy, modify, and distribute this software for any |
* purpose with or without fee is hereby granted, provided that the above |
* purpose with or without fee is hereby granted, provided that the above |
Line 796 post_percent(DECL_ARGS) |
|
Line 796 post_percent(DECL_ARGS) |
|
if (mdoc_man_act(n->tok)->pre == pre_em) |
if (mdoc_man_act(n->tok)->pre == pre_em) |
font_pop(); |
font_pop(); |
|
|
|
if (n->parent == NULL || n->parent->tok != MDOC_Rs) |
|
return; |
|
|
if ((nn = roff_node_next(n)) != NULL) { |
if ((nn = roff_node_next(n)) != NULL) { |
np = roff_node_prev(n); |
np = roff_node_prev(n); |
nnn = nn == NULL ? NULL : roff_node_next(nn); |
nnn = nn == NULL ? NULL : roff_node_next(nn); |
|
|
Bl_stack[Bl_stack_len - 1]); |
Bl_stack[Bl_stack_len - 1]); |
print_word(buf); |
print_word(buf); |
|
|
/* Remeber to close out this .RS block later. */ |
/* Remember to close out this .RS block later. */ |
Bl_stack_post[Bl_stack_len - 1] = 1; |
Bl_stack_post[Bl_stack_len - 1] = 1; |
} |
} |
|
|
Line 1613 pre_lk(DECL_ARGS) |
|
Line 1616 pre_lk(DECL_ARGS) |
|
} |
} |
|
|
/* Link target. */ |
/* Link target. */ |
font_push('B'); |
|
print_word(link->string); |
print_word(link->string); |
font_pop(); |
|
|
|
/* Trailing punctuation. */ |
/* Trailing punctuation. */ |
while (punct != NULL) { |
while (punct != NULL) { |