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

Diff for /mandoc/mdoc_html.c between version 1.323 and 1.324

version 1.323, 2019/01/07 07:26:29 version 1.324, 2019/01/10 07:40:10
Line 741  static int
Line 741  static int
 mdoc_it_pre(MDOC_ARGS)  mdoc_it_pre(MDOC_ARGS)
 {  {
         const struct roff_node  *bl;          const struct roff_node  *bl;
         struct tag              *t;  
         enum mdoc_list           type;          enum mdoc_list           type;
   
         bl = n->parent;          bl = n->parent;
Line 783  mdoc_it_pre(MDOC_ARGS)
Line 782  mdoc_it_pre(MDOC_ARGS)
         case LIST_tag:          case LIST_tag:
                 switch (n->type) {                  switch (n->type) {
                 case ROFFT_HEAD:                  case ROFFT_HEAD:
                         if (h->style != NULL && !bl->norm->Bl.comp &&  
                             (n->parent->prev == NULL ||  
                              n->parent->prev->body == NULL ||  
                              n->parent->prev->body->child != NULL)) {  
                                 t = print_otag(h, TAG_DT, "");  
                                 print_text(h, "\\ ");  
                                 print_tagq(h, t);  
                                 t = print_otag(h, TAG_DD, "");  
                                 print_text(h, "\\ ");  
                                 print_tagq(h, t);  
                         }  
                         print_otag(h, TAG_DT, "");                          print_otag(h, TAG_DT, "");
                         break;                          break;
                 case ROFFT_BODY:                  case ROFFT_BODY:

Legend:
Removed from v.1.323  
changed lines
  Added in v.1.324

CVSweb