diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2020-04-07 22:56:02 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2020-04-07 22:56:02 +0000 |
commit | f4c07cc80595b2276a99fd6e5c95c734187feaab (patch) | |
tree | 23f120c67a8a3f6a33615c3d4d9f8115ed9ac08d /tag.h | |
parent | 70b71d1de24478a8fcc7413f1cb42c83db416bc3 (diff) | |
download | mandoc-f4c07cc80595b2276a99fd6e5c95c734187feaab.tar.gz mandoc-f4c07cc80595b2276a99fd6e5c95c734187feaab.tar.zst mandoc-f4c07cc80595b2276a99fd6e5c95c734187feaab.zip |
Separate the place to put the <a href> permalink (now marked
with NODE_HREF) from the target element of the link (still marked
with NODE_ID). In many cases, use this to move the target to the
beginning of the paragraph, such that readers don't get dropped
into the middle of a sentence.
Diffstat (limited to 'tag.h')
-rw-r--r-- | tag.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: tag.h,v 1.12 2020/04/02 22:12:55 schwarze Exp $ */ +/* $Id: tag.h,v 1.13 2020/04/07 22:56:02 schwarze Exp $ */ /* * Copyright (c) 2015, 2018, 2019, 2020 Ingo Schwarze <schwarze@openbsd.org> * @@ -31,4 +31,5 @@ void tag_alloc(void); int tag_exists(const char *); void tag_put(const char *, int, struct roff_node *); +void tag_postprocess(struct roff_node *); void tag_free(void); |