sync with OpenBSD -current
This commit is contained in:
parent
3c3b8be419
commit
3b3e4312d9
62 changed files with 634 additions and 419 deletions
|
@ -1,6 +1,6 @@
|
|||
/* $OpenBSD: mdoc_man.c,v 1.136 2022/12/26 19:16:02 jmc Exp $ */
|
||||
/* $OpenBSD: mdoc_man.c,v 1.137 2025/01/24 22:36:51 schwarze Exp $ */
|
||||
/*
|
||||
* 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
|
||||
* purpose with or without fee is hereby granted, provided that the above
|
||||
|
@ -794,6 +794,9 @@ post_percent(DECL_ARGS)
|
|||
if (mdoc_man_act(n->tok)->pre == pre_em)
|
||||
font_pop();
|
||||
|
||||
if (n->parent == NULL || n->parent->tok != MDOC_Rs)
|
||||
return;
|
||||
|
||||
if ((nn = roff_node_next(n)) != NULL) {
|
||||
np = roff_node_prev(n);
|
||||
nnn = nn == NULL ? NULL : roff_node_next(nn);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue