[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.140 and 1.141

version 1.140, 2017/05/05 13:17:54 version 1.141, 2017/05/05 15:17:32
Line 69  static int    man_ign_pre(MAN_ARGS);
Line 69  static int    man_ign_pre(MAN_ARGS);
 static  int               man_in_pre(MAN_ARGS);  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  int               man_sp_pre(MAN_ARGS);  
   
 static  const struct htmlman __mans[MAN_MAX - MAN_TH] = {  static  const struct htmlman __mans[MAN_MAX - MAN_TH] = {
         { NULL, NULL }, /* TH */          { NULL, NULL }, /* TH */
Line 92  static const struct htmlman __mans[MAN_MAX - MAN_TH] =
Line 91  static const struct htmlman __mans[MAN_MAX - MAN_TH] =
         { 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_sp_pre, NULL }, /* sp */  
         { NULL, NULL }, /* nf */          { NULL, NULL }, /* nf */
         { NULL, NULL }, /* fi */          { NULL, NULL }, /* fi */
         { NULL, NULL }, /* RE */          { NULL, NULL }, /* RE */
Line 304  print_man_node(MAN_ARGS)
Line 302  print_man_node(MAN_ARGS)
                 t = h->tag;                  t = h->tag;
                 if (n->tok < ROFF_MAX) {                  if (n->tok < ROFF_MAX) {
                         roff_html_pre(h, n);                          roff_html_pre(h, n);
                           child = 0;
                         break;                          break;
                 }                  }
   
Line 411  man_root_post(MAN_ARGS)
Line 410  man_root_post(MAN_ARGS)
         if (man->os)          if (man->os)
                 print_text(h, man->os);                  print_text(h, man->os);
         print_tagq(h, t);          print_tagq(h, t);
 }  
   
   
 static int  
 man_sp_pre(MAN_ARGS)  
 {  
         struct roffsu    su;  
   
         SCALE_VS_INIT(&su, 1);  
         if (NULL != (n = n->child))  
                 if ( ! a2roffsu(n->string, &su, SCALE_VS))  
                         su.scale = 1.0;  
   
         print_otag(h, TAG_DIV, "suh", &su);  
   
         /* So the div isn't empty: */  
         print_text(h, "\\~");  
   
         return 0;  
 }  }
   
 static int  static int

Legend:
Removed from v.1.140  
changed lines
  Added in v.1.141

CVSweb