aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/man_validate.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2020-04-18 20:40:10 +0000
committerIngo Schwarze <schwarze@openbsd.org>2020-04-18 20:40:10 +0000
commitfcd488027f8d6316b641cffa970d451df8a92c76 (patch)
treed6d2d4b2d01db1839ff1d98268209c616b5304bb /man_validate.c
parent637b922ab2b2aa18419a0abed18ae9d2fed4e50a (diff)
downloadmandoc-fcd488027f8d6316b641cffa970d451df8a92c76.tar.gz
mandoc-fcd488027f8d6316b641cffa970d451df8a92c76.tar.zst
mandoc-fcd488027f8d6316b641cffa970d451df8a92c76.zip
When a .Tg is attached to a paragraph, attach the permalink
to the first word, or the first few words if they are short.
Diffstat (limited to 'man_validate.c')
-rw-r--r--man_validate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/man_validate.c b/man_validate.c
index ee634f50..84fc4424 100644
--- a/man_validate.c
+++ b/man_validate.c
@@ -1,4 +1,4 @@
-/* $Id: man_validate.c,v 1.152 2020/04/04 20:33:33 schwarze Exp $ */
+/* $Id: man_validate.c,v 1.153 2020/04/18 20:40:10 schwarze Exp $ */
/*
* Copyright (c) 2010, 2012-2020 Ingo Schwarze <schwarze@openbsd.org>
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
@@ -34,11 +34,11 @@
#include "mandoc_aux.h"
#include "mandoc.h"
#include "roff.h"
-#include "tag.h"
#include "man.h"
#include "libmandoc.h"
#include "roff_int.h"
#include "libman.h"
+#include "tag.h"
#define CHKARGS struct roff_man *man, struct roff_node *n