[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.128 and 1.129

version 1.128, 2019/09/01 15:12:03 version 1.129, 2019/09/03 12:03:05
Line 269 
Line 269 
 void  void
 html_close_paragraph(struct html *h)  html_close_paragraph(struct html *h)
 {  {
         struct tag      *t;          struct tag      *this, *next;
   
         for (t = h->tag; t != NULL && t->closed == 0; t = t->next) {          this = h->tag;
                 switch(t->tag) {          for (;;) {
                 case TAG_P:                  next = this->next;
                 case TAG_PRE:                  if (htmltags[this->tag].flags &
                         print_tagq(h, t);                      (HTML_INPHRASE | HTML_TOPHRASE))
                           print_ctag(h, this);
                   if ((htmltags[this->tag].flags & HTML_INPHRASE) == 0)
                         break;                          break;
                 case TAG_A:                  this = next;
                         print_tagq(h, t);  
                         continue;  
                 default:  
                         continue;  
                 }  
                 break;  
         }          }
 }  }
   

Legend:
Removed from v.1.128  
changed lines
  Added in v.1.129