=================================================================== RCS file: /cvs/mandoc/html.c,v retrieving revision 1.266 retrieving revision 1.267 diff -u -p -r1.266 -r1.267 --- mandoc/html.c 2020/04/07 22:56:02 1.266 +++ mandoc/html.c 2020/04/08 11:56:03 1.267 @@ -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 * Copyright (c) 2008-2011, 2014 Kristaps Dzonsons @@ -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: