[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.221 and 1.224

version 1.221, 2015/02/01 23:10:35 version 1.224, 2015/02/11 14:15:12
Line 436  print_mdoc_node(MDOC_ARGS)
Line 436  print_mdoc_node(MDOC_ARGS)
                 break;                  break;
         }          }
   
         if (HTML_KEEP & h->flags) {          if (h->flags & HTML_KEEP && n->flags & MDOC_LINE) {
                 if (n->prev ? (n->prev->lastline != n->line) :                  h->flags &= ~HTML_KEEP;
                     (n->parent && n->parent->line != n->line)) {                  h->flags |= HTML_PREKEEP;
                         h->flags &= ~HTML_KEEP;  
                         h->flags |= HTML_PREKEEP;  
                 }  
         }          }
   
         if (child && n->child)          if (child && n->child)
Line 1256  mdoc_an_pre(MDOC_ARGS)
Line 1253  mdoc_an_pre(MDOC_ARGS)
                 return(0);                  return(0);
         }          }
   
         if (n->child == NULL)  
                 return(0);  
   
         if (h->flags & HTML_SPLIT)          if (h->flags & HTML_SPLIT)
                 print_otag(h, TAG_BR, 0, NULL);                  print_otag(h, TAG_BR, 0, NULL);
   
Line 2226  mdoc_eo_pre(MDOC_ARGS)
Line 2220  mdoc_eo_pre(MDOC_ARGS)
             n->child->end != ENDBODY_NOT)              n->child->end != ENDBODY_NOT)
                 print_text(h, "\\&");                  print_text(h, "\\&");
         else if (n->end != ENDBODY_NOT ? n->child != NULL :          else if (n->end != ENDBODY_NOT ? n->child != NULL :
             n->parent->head->child != NULL &&              n->parent->head->child != NULL && (n->child != NULL ||
             (n->parent->body->child != NULL ||              (n->parent->tail != NULL && n->parent->tail->child != NULL)))
              n->parent->tail->child != NULL))  
                 h->flags |= HTML_NOSPACE;                  h->flags |= HTML_NOSPACE;
         return(1);          return(1);
 }  }

Legend:
Removed from v.1.221  
changed lines
  Added in v.1.224

CVSweb