diff options
author | 2020-04-07 22:56:02 +0000 | |
---|---|---|
committer | 2020-04-07 22:56:02 +0000 | |
commit | f4c07cc80595b2276a99fd6e5c95c734187feaab (patch) | |
tree | 23f120c67a8a3f6a33615c3d4d9f8115ed9ac08d /read.c | |
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 'read.c')
-rw-r--r-- | read.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: read.c,v 1.216 2020/03/13 16:16:58 schwarze Exp $ */ +/* $Id: read.c,v 1.217 2020/04/07 22:56:02 schwarze Exp $ */ /* * Copyright (c) 2010-2019 Ingo Schwarze <schwarze@openbsd.org> * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> @@ -708,6 +708,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; } |