[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.132 and 1.135

version 1.132, 2017/01/30 20:24:02 version 1.135, 2017/03/17 12:10:16
Line 374  man_root_pre(MAN_ARGS)
Line 374  man_root_pre(MAN_ARGS)
         mandoc_asprintf(&title, "%s(%s)", man->title, man->msec);          mandoc_asprintf(&title, "%s(%s)", man->title, man->msec);
   
         t = print_otag(h, TAG_TABLE, "c", "head");          t = print_otag(h, TAG_TABLE, "c", "head");
         print_otag(h, TAG_TBODY, "");  
         tt = print_otag(h, TAG_TR, "");          tt = print_otag(h, TAG_TR, "");
   
         print_otag(h, TAG_TD, "c", "head-ltitle");          print_otag(h, TAG_TD, "c", "head-ltitle");
Line 436  man_br_pre(MAN_ARGS)
Line 435  man_br_pre(MAN_ARGS)
 static int  static int
 man_SH_pre(MAN_ARGS)  man_SH_pre(MAN_ARGS)
 {  {
         if (n->type == ROFFT_HEAD)          char    *id;
                 print_otag(h, TAG_H1, "c", "Sh");  
           if (n->type == ROFFT_HEAD) {
                   id = html_make_id(n);
                   print_otag(h, TAG_H1, "cTi", "Sh", id);
                   if (id != NULL)
                           print_otag(h, TAG_A, "chR", "selflink", id);
                   free(id);
           }
         return 1;          return 1;
 }  }
   
Line 499  man_SM_pre(MAN_ARGS)
Line 505  man_SM_pre(MAN_ARGS)
 static int  static int
 man_SS_pre(MAN_ARGS)  man_SS_pre(MAN_ARGS)
 {  {
         if (n->type == ROFFT_HEAD)          char    *id;
                 print_otag(h, TAG_H2, "c", "Ss");  
           if (n->type == ROFFT_HEAD) {
                   id = html_make_id(n);
                   print_otag(h, TAG_H2, "cTi", "Ss", id);
                   if (id != NULL)
                           print_otag(h, TAG_A, "chR", "selflink", id);
                   free(id);
           }
         return 1;          return 1;
 }  }
   
Line 657  man_UR_pre(MAN_ARGS)
Line 670  man_UR_pre(MAN_ARGS)
         assert(n->type == ROFFT_HEAD);          assert(n->type == ROFFT_HEAD);
         if (n->child != NULL) {          if (n->child != NULL) {
                 assert(n->child->type == ROFFT_TEXT);                  assert(n->child->type == ROFFT_TEXT);
                 print_otag(h, TAG_A, "ch", "Lk", n->child->string);                  print_otag(h, TAG_A, "cTh", "Lk", n->child->string);
         }          }
   
         assert(n->next->type == ROFFT_BODY);          assert(n->next->type == ROFFT_BODY);

Legend:
Removed from v.1.132  
changed lines
  Added in v.1.135

CVSweb