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

Diff for /mandoc/html.c between version 1.88 and 1.89

version 1.88, 2009/11/14 19:23:58 version 1.89, 2009/11/15 06:45:31
Line 247  print_metaf(struct html *h, enum roffdeco deco)
Line 247  print_metaf(struct html *h, enum roffdeco deco)
                 assert(h->metaf == h->tags.head);                  assert(h->metaf == h->tags.head);
                 print_tagq(h, h->metaf);                  print_tagq(h, h->metaf);
         }          }
   
         PAIR_CLASS_INIT(&tag, class);          PAIR_CLASS_INIT(&tag, class);
         h->metaf = print_otag(h, TAG_SPAN, 1, &tag);          h->metaf = print_otag(h, TAG_SPAN, 1, &tag);
 }  }
Line 432  print_tagq(struct html *h, const struct tag *until)
Line 432  print_tagq(struct html *h, const struct tag *until)
         struct tag      *tag;          struct tag      *tag;
   
         while ((tag = h->tags.head) != NULL) {          while ((tag = h->tags.head) != NULL) {
                   if (tag == h->metaf)
                           h->metaf = NULL;
                 print_ctag(h, tag->tag);                  print_ctag(h, tag->tag);
                 h->tags.head = tag->next;                  h->tags.head = tag->next;
                 free(tag);                  free(tag);
Line 449  print_stagq(struct html *h, const struct tag *suntil)
Line 451  print_stagq(struct html *h, const struct tag *suntil)
         while ((tag = h->tags.head) != NULL) {          while ((tag = h->tags.head) != NULL) {
                 if (suntil && tag == suntil)                  if (suntil && tag == suntil)
                         return;                          return;
                   if (tag == h->metaf)
                           h->metaf = NULL;
                 print_ctag(h, tag->tag);                  print_ctag(h, tag->tag);
                 h->tags.head = tag->next;                  h->tags.head = tag->next;
                 free(tag);                  free(tag);

Legend:
Removed from v.1.88  
changed lines
  Added in v.1.89

CVSweb