[BACK]Return to html.c CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc

Diff for /mandoc/html.c between version 1.266 and 1.267

version 1.266, 2020/04/07 22:56:02 version 1.267, 2020/04/08 11:56:03
Line 344  html_make_id(const struct roff_node *n, int unique)
Line 344  html_make_id(const struct roff_node *n, int unique)
         unsigned int             slot;          unsigned int             slot;
         int                      suffix;          int                      suffix;
   
         if (n->string != NULL)          if (n->tag != NULL)
                 buf = mandoc_strdup(n->string);                  buf = mandoc_strdup(n->tag);
         else {          else {
                 switch (n->tok) {                  switch (n->tok) {
                 case MDOC_Sh:                  case MDOC_Sh:

Legend:
Removed from v.1.266  
changed lines
  Added in v.1.267

CVSweb