diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2020-04-06 10:16:17 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2020-04-06 10:16:17 +0000 |
commit | b19e09dbeb7e957bca580776d8b3a4651016c904 (patch) | |
tree | 9decba67ceddc230203a9a25445f231797d73b56 /roff.h | |
parent | 9c50b3f3dd65454028a85113ebc01c5f1f8dabf5 (diff) | |
download | mandoc-b19e09dbeb7e957bca580776d8b3a4651016c904.tar.gz |
Support manual tagging of .Pp, .Bd, .D1, .Dl, .Bl, and .It.
In HTML output, improve the logic for writing inside permalinks:
skip them when there is no child content or when there is a risk
that the children might contain flow content.
Diffstat (limited to 'roff.h')
-rw-r--r-- | roff.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,7 +1,7 @@ -/* $Id$ */ +/* $Id$ */ /* - * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2013-2015, 2017-2020 Ingo Schwarze <schwarze@openbsd.org> + * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -557,3 +557,4 @@ struct roff_node *roff_node_child(struct roff_node *); struct roff_node *roff_node_next(struct roff_node *); struct roff_node *roff_node_prev(struct roff_node *); int roff_node_transparent(struct roff_node *); +int roff_tok_transparent(enum roff_tok); |