aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/roff.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2020-04-06 10:16:17 +0000
committerIngo Schwarze <schwarze@openbsd.org>2020-04-06 10:16:17 +0000
commit70b71d1de24478a8fcc7413f1cb42c83db416bc3 (patch)
tree03e1d4654d318e7f9e007d588173fcc2dbd59683 /roff.h
parente03f6c4421e6265e6c69f785a01edfe489ff4f9c (diff)
downloadmandoc-70b71d1de24478a8fcc7413f1cb42c83db416bc3.tar.gz
mandoc-70b71d1de24478a8fcc7413f1cb42c83db416bc3.tar.zst
mandoc-70b71d1de24478a8fcc7413f1cb42c83db416bc3.zip
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.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/roff.h b/roff.h
index d1e05db5..e2ccc373 100644
--- a/roff.h
+++ b/roff.h
@@ -1,7 +1,7 @@
-/* $Id: roff.h,v 1.72 2020/02/27 21:43:45 schwarze Exp $ */
+/* $Id: roff.h,v 1.73 2020/04/06 10:16:18 schwarze Exp $ */
/*
- * 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);