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

Diff for /mandoc/man_html.c between version 1.153 and 1.154

version 1.153, 2018/07/27 17:49:31 version 1.154, 2018/08/16 23:43:37
Line 75  static const struct htmlman __mans[MAN_MAX - MAN_TH] =
Line 75  static const struct htmlman __mans[MAN_MAX - MAN_TH] =
         { man_SH_pre, NULL }, /* SH */          { man_SH_pre, NULL }, /* SH */
         { man_SS_pre, NULL }, /* SS */          { man_SS_pre, NULL }, /* SS */
         { man_IP_pre, NULL }, /* TP */          { man_IP_pre, NULL }, /* TP */
           { man_IP_pre, NULL }, /* TQ */
         { man_PP_pre, NULL }, /* LP */          { man_PP_pre, NULL }, /* LP */
         { man_PP_pre, NULL }, /* PP */          { man_PP_pre, NULL }, /* PP */
         { man_PP_pre, NULL }, /* P */          { man_PP_pre, NULL }, /* P */
Line 518  man_IP_pre(MAN_ARGS)
Line 519  man_IP_pre(MAN_ARGS)
                 return 1;                  return 1;
         }          }
   
         /* FIXME: width specification. */  
   
         print_otag(h, TAG_DT, "");          print_otag(h, TAG_DT, "");
   
         /* For IP, only print the first header element. */          switch(n->tok) {
           case MAN_IP:  /* Only print the first header element. */
         if (MAN_IP == n->tok && n->child)                  if (n->child != NULL)
                 print_man_node(man, n->child, h);                          print_man_node(man, n->child, h);
                   break;
         /* For TP, only print next-line header elements. */          case MAN_TP:  /* Only print next-line header elements. */
           case MAN_TQ:
         if (MAN_TP == n->tok) {  
                 nn = n->child;                  nn = n->child;
                 while (NULL != nn && 0 == (NODE_LINE & nn->flags))                  while (nn != NULL && (NODE_LINE & nn->flags) == 0)
                         nn = nn->next;                          nn = nn->next;
                 while (NULL != nn) {                  while (nn != NULL) {
                         print_man_node(man, nn, h);                          print_man_node(man, nn, h);
                         nn = nn->next;                          nn = nn->next;
                 }                  }
                   break;
           default:
                   abort();
         }          }
   
         return 0;          return 0;

Legend:
Removed from v.1.153  
changed lines
  Added in v.1.154

CVSweb