[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.178 and 1.179

version 1.178, 2020/04/04 20:33:33 version 1.179, 2020/10/16 17:22:43
Line 169  print_man_node(MAN_ARGS)
Line 169  print_man_node(MAN_ARGS)
         if (n->type == ROFFT_COMMENT || n->flags & NODE_NOPRT)          if (n->type == ROFFT_COMMENT || n->flags & NODE_NOPRT)
                 return;                  return;
   
         html_fillmode(h, n->flags & NODE_NOFILL ? ROFF_nf : ROFF_fi);          if ((n->flags & NODE_NOFILL) == 0)
                   html_fillmode(h, ROFF_fi);
           else if (html_fillmode(h, ROFF_nf) == ROFF_nf &&
               n->tok != ROFF_fi && n->flags & NODE_LINE &&
               (n->prev == NULL || n->prev->tok != MAN_YS))
                   print_endline(h);
   
         child = 1;          child = 1;
         switch (n->type) {          switch (n->type) {
Line 253  print_man_node(MAN_ARGS)
Line 258  print_man_node(MAN_ARGS)
         }          }
         if (t != NULL)          if (t != NULL)
                 print_stagq(h, t);                  print_stagq(h, t);
   
         if (n->flags & NODE_NOFILL && n->tok != MAN_YS &&  
             (n->next != NULL && n->next->flags & NODE_LINE)) {  
                 /* In .nf = <pre>, print even empty lines. */  
                 h->col++;  
                 print_endline(h);  
         }  
 }  }
   
 static void  static void

Legend:
Removed from v.1.178  
changed lines
  Added in v.1.179

CVSweb