aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/html.c
diff options
context:
space:
mode:
Diffstat (limited to 'html.c')
-rw-r--r--html.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/html.c b/html.c
index 15b87236..e7adea02 100644
--- a/html.c
+++ b/html.c
@@ -1,4 +1,4 @@
-/* $Id: html.c,v 1.266 2020/04/07 22:56:02 schwarze Exp $ */
+/* $Id: html.c,v 1.267 2020/04/08 11:56:03 schwarze Exp $ */
/*
* Copyright (c) 2011-2015, 2017-2020 Ingo Schwarze <schwarze@openbsd.org>
* Copyright (c) 2008-2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv>
@@ -344,8 +344,8 @@ html_make_id(const struct roff_node *n, int unique)
unsigned int slot;
int suffix;
- if (n->string != NULL)
- buf = mandoc_strdup(n->string);
+ if (n->tag != NULL)
+ buf = mandoc_strdup(n->tag);
else {
switch (n->tok) {
case MDOC_Sh: