[BACK]Return to tbl_html.c CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc

Diff for /mandoc/tbl_html.c between version 1.16 and 1.18

version 1.16, 2015/01/30 17:32:16 version 1.18, 2015/10/12 00:08:16
Line 1 
Line 1 
 /*      $Id$ */  /*      $Id$ */
 /*  /*
  * Copyright (c) 2011 Kristaps Dzonsons <kristaps@bsd.lv>   * Copyright (c) 2011 Kristaps Dzonsons <kristaps@bsd.lv>
    * Copyright (c) 2014, 2015 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 36  static size_t
Line 37  static size_t
 html_tbl_len(size_t sz, void *arg)  html_tbl_len(size_t sz, void *arg)
 {  {
   
         return(sz);          return sz;
 }  }
   
 static size_t  static size_t
 html_tbl_strlen(const char *p, void *arg)  html_tbl_strlen(const char *p, void *arg)
 {  {
   
         return(strlen(p));          return strlen(p);
 }  }
   
 static void  static void
Line 107  print_tbl(struct html *h, const struct tbl_span *sp)
Line 108  print_tbl(struct html *h, const struct tbl_span *sp)
   
         switch (sp->pos) {          switch (sp->pos) {
         case TBL_SPAN_HORIZ:          case TBL_SPAN_HORIZ:
                 /* FALLTHROUGH */  
         case TBL_SPAN_DHORIZ:          case TBL_SPAN_DHORIZ:
                 PAIR_INIT(&tag, ATTR_COLSPAN, "0");                  PAIR_INIT(&tag, ATTR_COLSPAN, "0");
                 print_otag(h, TAG_TD, 1, &tag);                  print_otag(h, TAG_TD, 1, &tag);

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.18

CVSweb