[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.26 and 1.27

version 1.26, 2010/07/25 18:05:54 version 1.27, 2010/07/31 21:43:07
Line 1453 
Line 1453 
         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.26  
changed lines
  Added in v.1.27