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

Diff for /mandoc/mdoc_html.c between version 1.233 and 1.234

version 1.233, 2015/08/30 19:00:14 version 1.234, 2015/09/26 00:22:07
Line 642  mdoc_nm_pre(MDOC_ARGS)
Line 642  mdoc_nm_pre(MDOC_ARGS)
   
         switch (n->type) {          switch (n->type) {
         case ROFFT_ELEM:          case ROFFT_ELEM:
                 synopsis_pre(h, n);  
                 PAIR_CLASS_INIT(&tag, "name");                  PAIR_CLASS_INIT(&tag, "name");
                 print_otag(h, TAG_B, 1, &tag);                  print_otag(h, TAG_B, 1, &tag);
                 if (NULL == n->child && meta->name)                  if (NULL == n->child && meta->name)
Line 650  mdoc_nm_pre(MDOC_ARGS)
Line 649  mdoc_nm_pre(MDOC_ARGS)
                 return(1);                  return(1);
         case ROFFT_HEAD:          case ROFFT_HEAD:
                 print_otag(h, TAG_TD, 0, NULL);                  print_otag(h, TAG_TD, 0, NULL);
                   PAIR_CLASS_INIT(&tag, "name");
                   print_otag(h, TAG_B, 1, &tag);
                 if (NULL == n->child && meta->name)                  if (NULL == n->child && meta->name)
                         print_text(h, meta->name);                          print_text(h, meta->name);
                 return(1);                  return(1);
Line 664  mdoc_nm_pre(MDOC_ARGS)
Line 665  mdoc_nm_pre(MDOC_ARGS)
         PAIR_CLASS_INIT(&tag, "synopsis");          PAIR_CLASS_INIT(&tag, "synopsis");
         print_otag(h, TAG_TABLE, 1, &tag);          print_otag(h, TAG_TABLE, 1, &tag);
   
         for (len = 0, n = n->child; n; n = n->next)          for (len = 0, n = n->head->child; n; n = n->next)
                 if (n->type == ROFFT_TEXT)                  if (n->type == ROFFT_TEXT)
                         len += html_strlen(n->string);                          len += html_strlen(n->string);
   

Legend:
Removed from v.1.233  
changed lines
  Added in v.1.234

CVSweb