[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.100

version 1.99, 2010/07/23 00:08:57 version 1.100, 2010/07/27 08:38:04
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;                  if (nn->prev && nn->prev->line < nn->line) {
                 print_mdoc_node(m, nn, h);  
                 if (NULL == nn->next)  
                         continue;  
                 if (nn->prev && nn->prev->line < nn->line)  
                         print_text(h, "\n");                          print_text(h, "\n");
                 else if (NULL == nn->prev)                          h->flags |= HTML_NOSPACE;
                         print_text(h, "\n");                  }
                   print_mdoc_node(m, nn, h);
         }          }
   
         return(0);          return(0);

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

CVSweb