From f4c07cc80595b2276a99fd6e5c95c734187feaab Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Tue, 7 Apr 2020 22:56:02 +0000 Subject: Separate the place to put the 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. --- read.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'read.c') diff --git a/read.c b/read.c index 1774f150..a47240c4 100644 --- a/read.c +++ b/read.c @@ -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 * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons @@ -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; } -- cgit v1.2.3