[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.33 and 1.44

version 1.33, 2010/05/15 22:44:04 version 1.44, 2010/07/22 23:53:54
Line 1 
Line 1 
 /*      $Id$ */  /*      $Id$ */
 /*  /*
  * Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>   * Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv>
  *   *
  * 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 26 
Line 26 
 #include <stdlib.h>  #include <stdlib.h>
 #include <string.h>  #include <string.h>
   
   #include "mandoc.h"
 #include "out.h"  #include "out.h"
 #include "html.h"  #include "html.h"
 #include "man.h"  #include "man.h"
Line 106  static const struct htmlman mans[MAN_MAX] = {
Line 107  static const struct htmlman mans[MAN_MAX] = {
         { man_br_pre, NULL }, /* Sp */          { man_br_pre, NULL }, /* Sp */
         { man_ign_pre, NULL }, /* Vb */          { man_ign_pre, NULL }, /* Vb */
         { NULL, NULL }, /* Ve */          { NULL, NULL }, /* Ve */
           { man_ign_pre, NULL }, /* AT */
           { NULL, NULL }, /* in */
 };  };
   
   
Line 306  man_root_post(MAN_ARGS)
Line 309  man_root_post(MAN_ARGS)
         struct tag      *t, *tt;          struct tag      *t, *tt;
         char             b[DATESIZ];          char             b[DATESIZ];
   
         time2a(m->date, b, DATESIZ);          if (m->rawdate)
                   strlcpy(b, m->rawdate, DATESIZ);
           else
                   time2a(m->date, b, DATESIZ);
   
         PAIR_CLASS_INIT(&tag[0], "footer");          PAIR_CLASS_INIT(&tag[0], "footer");
         bufcat_style(h, "width", "100%");          bufcat_style(h, "width", "100%");

Legend:
Removed from v.1.33  
changed lines
  Added in v.1.44

CVSweb