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 /html.h | |
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 'html.h')
-rw-r--r-- | html.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: html.h,v 1.107 2020/03/13 15:32:28 schwarze Exp $ */ +/* $Id: html.h,v 1.108 2020/04/18 20:40:10 schwarze Exp $ */ /* * Copyright (c) 2017, 2018, 2019, 2020 Ingo Schwarze <schwarze@openbsd.org> * Copyright (c) 2008-2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv> @@ -127,6 +127,8 @@ struct tag *print_otag_id(struct html *, enum htmltag, const char *, struct roff_node *); void print_tagq(struct html *, const struct tag *); void print_stagq(struct html *, const struct tag *); +void print_tagged_text(struct html *, const char *, + struct roff_node *); void print_text(struct html *, const char *); void print_tblclose(struct html *); void print_tbl(struct html *, const struct tbl_span *); |