[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.89 and 1.90

version 1.89, 2012/11/17 00:26:33 version 1.90, 2013/10/17 20:54:58
Line 1 
Line 1 
 /*      $Id$ */  /*      $Id$ */
 /*  /*
  * Copyright (c) 2008-2012 Kristaps Dzonsons <kristaps@bsd.lv>   * Copyright (c) 2008-2012 Kristaps Dzonsons <kristaps@bsd.lv>
    * Copyright (c) 2013 Ingo Schwarze <schwarze@openbsd.org>
  *   *
  * Permission to use, copy, modify, and distribute this software for any   * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above   * purpose with or without fee is hereby granted, provided that the above
Line 70  static int    man_RS_pre(MAN_ARGS);
Line 71  static int    man_RS_pre(MAN_ARGS);
 static  int               man_SH_pre(MAN_ARGS);  static  int               man_SH_pre(MAN_ARGS);
 static  int               man_SM_pre(MAN_ARGS);  static  int               man_SM_pre(MAN_ARGS);
 static  int               man_SS_pre(MAN_ARGS);  static  int               man_SS_pre(MAN_ARGS);
   static  int               man_UR_pre(MAN_ARGS);
 static  int               man_alt_pre(MAN_ARGS);  static  int               man_alt_pre(MAN_ARGS);
 static  int               man_br_pre(MAN_ARGS);  static  int               man_br_pre(MAN_ARGS);
 static  int               man_ign_pre(MAN_ARGS);  static  int               man_ign_pre(MAN_ARGS);
Line 115  static const struct htmlman mans[MAN_MAX] = {
Line 117  static const struct htmlman mans[MAN_MAX] = {
         { man_OP_pre, NULL }, /* OP */          { man_OP_pre, NULL }, /* OP */
         { man_literal_pre, NULL }, /* EX */          { man_literal_pre, NULL }, /* EX */
         { man_literal_pre, NULL }, /* EE */          { man_literal_pre, NULL }, /* EE */
           { man_UR_pre, NULL }, /* UR */
           { NULL, NULL }, /* UE */
 };  };
   
 /*  /*
Line 687  man_RS_pre(MAN_ARGS)
Line 691  man_RS_pre(MAN_ARGS)
         PAIR_STYLE_INIT(&tag, h);          PAIR_STYLE_INIT(&tag, h);
         print_otag(h, TAG_DIV, 1, &tag);          print_otag(h, TAG_DIV, 1, &tag);
         return(1);          return(1);
   }
   
   /* ARGSUSED */
   static int
   man_UR_pre(MAN_ARGS)
   {
           struct htmlpair          tag[2];
   
           n = n->child;
           assert(MAN_HEAD == n->type);
           if (n->nchild) {
                   assert(MAN_TEXT == n->child->type);
                   PAIR_CLASS_INIT(&tag[0], "link-ext");
                   PAIR_HREF_INIT(&tag[1], n->child->string);
                   print_otag(h, TAG_A, 2, tag);
           }
   
           assert(MAN_BODY == n->next->type);
           if (n->next->nchild)
                   n = n->next;
   
           print_man_nodelist(man, n->child, mh, h);
   
           return(0);
 }  }

Legend:
Removed from v.1.89  
changed lines
  Added in v.1.90

CVSweb