[BACK]Return to html.c CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc

Diff for /mandoc/html.c between version 1.104 and 1.105

version 1.104, 2010/07/06 11:10:53 version 1.105, 2010/07/06 12:37:17
Line 393  print_otag(struct html *h, enum htmltag tag, 
Line 393  print_otag(struct html *h, enum htmltag tag, 
                 t = NULL;                  t = NULL;
   
         if ( ! (HTML_NOSPACE & h->flags))          if ( ! (HTML_NOSPACE & h->flags))
                 if ( ! (HTML_CLRLINE & htmltags[tag].flags))                  if ( ! (HTML_CLRLINE & htmltags[tag].flags)) {
                         putchar(' ');                          /* Manage keeps! */
                           if ( ! (HTML_KEEP & h->flags)) {
                                   if (HTML_PREKEEP & h->flags)
                                           h->flags |= HTML_KEEP;
                                   putchar(' ');
                           } else
                                   printf(" ");
                   }
   
         /* Print out the tag name and attributes. */          /* Print out the tag name and attributes. */
   
Line 511  print_text(struct html *h, const char *word)
Line 518  print_text(struct html *h, const char *word)
                         break;                          break;
                 }                  }
   
         if ( ! (h->flags & HTML_NOSPACE))          if ( ! (HTML_NOSPACE & h->flags)) {
                 putchar(' ');                  /* Manage keeps! */
                   if ( ! (HTML_KEEP & h->flags)) {
                           if (HTML_PREKEEP & h->flags)
                                   h->flags |= HTML_KEEP;
                           putchar(' ');
                   } else
                           printf(" ");
           }
   
         assert(word);          assert(word);
         if ( ! print_encode(h, word, 0))          if ( ! print_encode(h, word, 0))

Legend:
Removed from v.1.104  
changed lines
  Added in v.1.105

CVSweb