[BACK]Return to mdoc_html.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / mandoc

Diff for /src/usr.bin/mandoc/mdoc_html.c between version 1.216 and 1.217

version 1.216, 2020/10/16 17:22:39 version 1.217, 2021/03/30 19:23:50
Line 1 
Line 1 
 /* $OpenBSD$ */  /* $OpenBSD$ */
 /*  /*
  * Copyright (c) 2014-2020 Ingo Schwarze <schwarze@openbsd.org>   * Copyright (c) 2014-2021 Ingo Schwarze <schwarze@openbsd.org>
  * Copyright (c) 2008-2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv>   * Copyright (c) 2008-2011, 2014 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
Line 928 
Line 928 
 static int  static int
 mdoc_bd_pre(MDOC_ARGS)  mdoc_bd_pre(MDOC_ARGS)
 {  {
         char                     buf[16];          char                     buf[20];
         struct roff_node        *nn;          struct roff_node        *nn;
         int                      comp;          int                      comp;
   
Line 964 
Line 964 
         if (n->norm->Bd.offs != NULL &&          if (n->norm->Bd.offs != NULL &&
             strcmp(n->norm->Bd.offs, "left") != 0)              strcmp(n->norm->Bd.offs, "left") != 0)
                 (void)strlcat(buf, " Bd-indent", sizeof(buf));                  (void)strlcat(buf, " Bd-indent", sizeof(buf));
   
           if (n->norm->Bd.type == DISP_literal)
                   (void)strlcat(buf, " Li", sizeof(buf));
   
         print_otag_id(h, TAG_DIV, buf, n);          print_otag_id(h, TAG_DIV, buf, n);
         return 1;          return 1;

Legend:
Removed from v.1.216  
changed lines
  Added in v.1.217