[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.297 and 1.298

version 1.297, 2018/04/24 00:36:52 version 1.298, 2018/05/08 17:52:55
Line 552  mdoc_fl_pre(MDOC_ARGS)
Line 552  mdoc_fl_pre(MDOC_ARGS)
   
         if ((id = cond_id(n)) != NULL)          if ((id = cond_id(n)) != NULL)
                 print_otag(h, TAG_A, "chR", "permalink", id);                  print_otag(h, TAG_A, "chR", "permalink", id);
         print_otag(h, TAG_B, "cTi", "Fl", id);          print_otag(h, TAG_CODE, "cTi", "Fl", id);
         free(id);          free(id);
   
         print_text(h, "\\-");          print_text(h, "\\-");
Line 572  mdoc_cm_pre(MDOC_ARGS)
Line 572  mdoc_cm_pre(MDOC_ARGS)
   
         if ((id = cond_id(n)) != NULL)          if ((id = cond_id(n)) != NULL)
                 print_otag(h, TAG_A, "chR", "permalink", id);                  print_otag(h, TAG_A, "chR", "permalink", id);
         print_otag(h, TAG_B, "cTi", "Cm", id);          print_otag(h, TAG_CODE, "cTi", "Cm", id);
         free(id);          free(id);
         return 1;          return 1;
 }  }
Line 598  mdoc_nm_pre(MDOC_ARGS)
Line 598  mdoc_nm_pre(MDOC_ARGS)
                 print_otag(h, TAG_TD, "");                  print_otag(h, TAG_TD, "");
                 /* FALLTHROUGH */                  /* FALLTHROUGH */
         case ROFFT_ELEM:          case ROFFT_ELEM:
                 print_otag(h, TAG_B, "cT", "Nm");                  print_otag(h, TAG_CODE, "cT", "Nm");
                 return 1;                  return 1;
         case ROFFT_BODY:          case ROFFT_BODY:
                 print_otag(h, TAG_TD, "");                  print_otag(h, TAG_TD, "");
Line 1060  static int
Line 1060  static int
 mdoc_cd_pre(MDOC_ARGS)  mdoc_cd_pre(MDOC_ARGS)
 {  {
         synopsis_pre(h, n);          synopsis_pre(h, n);
         print_otag(h, TAG_B, "cT", "Cd");          print_otag(h, TAG_CODE, "cT", "Cd");
         return 1;          return 1;
 }  }
   
Line 1149  mdoc_fd_pre(MDOC_ARGS)
Line 1149  mdoc_fd_pre(MDOC_ARGS)
         assert(n->type == ROFFT_TEXT);          assert(n->type == ROFFT_TEXT);
   
         if (strcmp(n->string, "#include")) {          if (strcmp(n->string, "#include")) {
                 print_otag(h, TAG_B, "cT", "Fd");                  print_otag(h, TAG_CODE, "cT", "Fd");
                 return 1;                  return 1;
         }          }
   
         print_otag(h, TAG_B, "cT", "In");          print_otag(h, TAG_CODE, "cT", "In");
         print_text(h, n->string);          print_text(h, n->string);
   
         if (NULL != (n = n->next)) {          if (NULL != (n = n->next)) {
Line 1239  mdoc_fn_pre(MDOC_ARGS)
Line 1239  mdoc_fn_pre(MDOC_ARGS)
                 print_tagq(h, t);                  print_tagq(h, t);
         }          }
   
         t = print_otag(h, TAG_B, "cT", "Fn");          t = print_otag(h, TAG_CODE, "cT", "Fn");
   
         if (sp)          if (sp)
                 print_text(h, sp);                  print_text(h, sp);
Line 1382  mdoc_fo_pre(MDOC_ARGS)
Line 1382  mdoc_fo_pre(MDOC_ARGS)
                 return 0;                  return 0;
   
         assert(n->child->string);          assert(n->child->string);
         t = print_otag(h, TAG_B, "cT", "Fn");          t = print_otag(h, TAG_CODE, "cT", "Fn");
         print_text(h, n->child->string);          print_text(h, n->child->string);
         print_tagq(h, t);          print_tagq(h, t);
         return 0;          return 0;
Line 1406  mdoc_in_pre(MDOC_ARGS)
Line 1406  mdoc_in_pre(MDOC_ARGS)
         struct tag      *t;          struct tag      *t;
   
         synopsis_pre(h, n);          synopsis_pre(h, n);
         print_otag(h, TAG_B, "cT", "In");          print_otag(h, TAG_CODE, "cT", "In");
   
         /*          /*
          * The first argument of the `In' gets special treatment as           * The first argument of the `In' gets special treatment as
Line 1452  mdoc_ic_pre(MDOC_ARGS)
Line 1452  mdoc_ic_pre(MDOC_ARGS)
   
         if ((id = cond_id(n)) != NULL)          if ((id = cond_id(n)) != NULL)
                 print_otag(h, TAG_A, "chR", "permalink", id);                  print_otag(h, TAG_A, "chR", "permalink", id);
         print_otag(h, TAG_B, "cTi", "Ic", id);          print_otag(h, TAG_CODE, "cTi", "Ic", id);
         free(id);          free(id);
         return 1;          return 1;
 }  }

Legend:
Removed from v.1.297  
changed lines
  Added in v.1.298

CVSweb