[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.99 and 1.101

version 1.99, 2010/07/23 00:08:57 version 1.101, 2010/08/07 17:20:17
Line 1457  mdoc_bd_pre(MDOC_ARGS)
Line 1457  mdoc_bd_pre(MDOC_ARGS)
         print_otag(h, TAG_DIV, 2, tag);          print_otag(h, TAG_DIV, 2, tag);
   
         for (nn = n->child; nn; nn = nn->next) {          for (nn = n->child; nn; nn = nn->next) {
                 h->flags |= HTML_NOSPACE;  
                 print_mdoc_node(m, nn, h);                  print_mdoc_node(m, nn, h);
                 if (NULL == nn->next)                  if (nn->next && nn->next->line == nn->line)
                         continue;                          continue;
                 if (nn->prev && nn->prev->line < nn->line)                  print_text(h, "\n");
                         print_text(h, "\n");                  h->flags |= HTML_NOSPACE;
                 else if (NULL == nn->prev)  
                         print_text(h, "\n");  
         }          }
   
         return(0);          return(0);

Legend:
Removed from v.1.99  
changed lines
  Added in v.1.101

CVSweb