[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.134 and 1.136

version 1.134, 2017/03/15 11:29:53 version 1.136, 2017/04/24 23:06:18
Line 71  static int    man_in_pre(MAN_ARGS);
Line 71  static int    man_in_pre(MAN_ARGS);
 static  void              man_root_post(MAN_ARGS);  static  void              man_root_post(MAN_ARGS);
 static  void              man_root_pre(MAN_ARGS);  static  void              man_root_pre(MAN_ARGS);
   
 static  const struct htmlman mans[MAN_MAX] = {  static  const struct htmlman __mans[MAN_MAX - MAN_TH] = {
         { man_br_pre, NULL }, /* br */  
         { NULL, NULL }, /* TH */          { NULL, NULL }, /* TH */
         { man_SH_pre, NULL }, /* SH */          { man_SH_pre, NULL }, /* SH */
         { man_SS_pre, NULL }, /* SS */          { man_SS_pre, NULL }, /* SS */
Line 93  static const struct htmlman mans[MAN_MAX] = {
Line 92  static const struct htmlman mans[MAN_MAX] = {
         { man_I_pre, NULL }, /* I */          { man_I_pre, NULL }, /* I */
         { man_alt_pre, NULL }, /* IR */          { man_alt_pre, NULL }, /* IR */
         { man_alt_pre, NULL }, /* RI */          { man_alt_pre, NULL }, /* RI */
           { man_br_pre, NULL }, /* br */
         { man_br_pre, NULL }, /* sp */          { man_br_pre, NULL }, /* sp */
         { NULL, NULL }, /* nf */          { NULL, NULL }, /* nf */
         { NULL, NULL }, /* fi */          { NULL, NULL }, /* fi */
Line 111  static const struct htmlman mans[MAN_MAX] = {
Line 111  static const struct htmlman mans[MAN_MAX] = {
         { NULL, NULL }, /* UE */          { NULL, NULL }, /* UE */
         { man_ign_pre, NULL }, /* ll */          { man_ign_pre, NULL }, /* ll */
 };  };
   static  const struct htmlman *const mans = __mans - MAN_TH;
   
   
 /*  /*
Line 440  man_SH_pre(MAN_ARGS)
Line 441  man_SH_pre(MAN_ARGS)
         if (n->type == ROFFT_HEAD) {          if (n->type == ROFFT_HEAD) {
                 id = html_make_id(n);                  id = html_make_id(n);
                 print_otag(h, TAG_H1, "cTi", "Sh", id);                  print_otag(h, TAG_H1, "cTi", "Sh", id);
                 print_otag(h, TAG_A, "chR", "selflink", id);                  if (id != NULL)
                           print_otag(h, TAG_A, "chR", "selflink", id);
                 free(id);                  free(id);
         }          }
         return 1;          return 1;
Line 509  man_SS_pre(MAN_ARGS)
Line 511  man_SS_pre(MAN_ARGS)
         if (n->type == ROFFT_HEAD) {          if (n->type == ROFFT_HEAD) {
                 id = html_make_id(n);                  id = html_make_id(n);
                 print_otag(h, TAG_H2, "cTi", "Ss", id);                  print_otag(h, TAG_H2, "cTi", "Ss", id);
                 print_otag(h, TAG_A, "chR", "selflink", id);                  if (id != NULL)
                           print_otag(h, TAG_A, "chR", "selflink", id);
                 free(id);                  free(id);
         }          }
         return 1;          return 1;

Legend:
Removed from v.1.134  
changed lines
  Added in v.1.136

CVSweb