diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2020-04-18 20:40:10 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2020-04-18 20:40:10 +0000 |
commit | fcd488027f8d6316b641cffa970d451df8a92c76 (patch) | |
tree | d6d2d4b2d01db1839ff1d98268209c616b5304bb /term_tag.c | |
parent | 637b922ab2b2aa18419a0abed18ae9d2fed4e50a (diff) | |
download | mandoc-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 'term_tag.c')
-rw-r--r-- | term_tag.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: term_tag.c,v 1.3 2020/04/08 11:56:04 schwarze Exp $ */ +/* $Id: term_tag.c,v 1.4 2020/04/18 20:40:10 schwarze Exp $ */ /* * Copyright (c) 2015,2016,2018,2019,2020 Ingo Schwarze <schwarze@openbsd.org> * @@ -31,6 +31,7 @@ #include "mandoc.h" #include "roff.h" +#include "roff_int.h" #include "tag.h" #include "term_tag.h" |