[BACK]Return to html.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / mandoc

Diff for /src/usr.bin/mandoc/html.c between version 1.24 and 1.25

version 1.24, 2011/04/21 22:59:54 version 1.25, 2011/04/24 16:22:02
Line 28 
Line 28 
   
 #include "mandoc.h"  #include "mandoc.h"
 #include "out.h"  #include "out.h"
 #include "chars.h"  
 #include "html.h"  #include "html.h"
 #include "main.h"  #include "main.h"
   
Line 505 
Line 504 
                         name, doctype, dtd);                          name, doctype, dtd);
 }  }
   
   
 void  void
 print_text(struct html *h, const char *word)  print_text(struct html *h, const char *word)
 {  {
   
         if (DELIM_CLOSE == mandoc_isdelim(word))  
                 if ( ! (HTML_IGNDELIM & h->flags))  
                         h->flags |= HTML_NOSPACE;  
   
         if ( ! (HTML_NOSPACE & h->flags)) {          if ( ! (HTML_NOSPACE & h->flags)) {
                 /* Manage keeps! */                  /* Manage keeps! */
                 if ( ! (HTML_KEEP & h->flags)) {                  if ( ! (HTML_KEEP & h->flags)) {
Line 541 
Line 535 
         }          }
   
         h->flags &= ~HTML_IGNDELIM;          h->flags &= ~HTML_IGNDELIM;
   
         if (DELIM_OPEN == mandoc_isdelim(word))  
                 h->flags |= HTML_NOSPACE;  
 }  }
   
   

Legend:
Removed from v.1.24  
changed lines
  Added in v.1.25