diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2020-04-07 22:45:39 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2020-04-07 22:45:39 +0000 |
commit | 059b974c9931ac26e6ff9ef58dd61b4b6e0c8068 (patch) | |
tree | d0e32b633f6b2163f51942e1eca25586449154bd /usr.bin/mandoc/read.c | |
parent | 48286e5e06d9ffc523470a78ff72a598838c8693 (diff) |
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 'usr.bin/mandoc/read.c')
-rw-r--r-- | usr.bin/mandoc/read.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/mandoc/read.c b/usr.bin/mandoc/read.c index 2fcabf8bb46..613a17d8062 100644 --- a/usr.bin/mandoc/read.c +++ b/usr.bin/mandoc/read.c @@ -1,4 +1,4 @@ -/* $OpenBSD: read.c,v 1.187 2020/03/13 16:14:14 schwarze Exp $ */ +/* $OpenBSD: read.c,v 1.188 2020/04/07 22:45:37 schwarze Exp $ */ /* * Copyright (c) 2010-2019 Ingo Schwarze <schwarze@openbsd.org> * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> @@ -706,6 +706,7 @@ mparse_result(struct mparse *curp) mdoc_validate(curp->man); else man_validate(curp->man); + tag_postprocess(curp->man->meta.first); } return &curp->man->meta; } |