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

Diff for /mandoc/html.c between version 1.124 and 1.125

version 1.124, 2010/12/27 21:41:05 version 1.125, 2011/01/13 14:30:13
Line 90  static const char *const htmlattrs[ATTR_MAX] = {
Line 90  static const char *const htmlattrs[ATTR_MAX] = {
         "id", /* ATTR_ID */          "id", /* ATTR_ID */
         "summary", /* ATTR_SUMMARY */          "summary", /* ATTR_SUMMARY */
         "align", /* ATTR_ALIGN */          "align", /* ATTR_ALIGN */
           "colspan", /* ATTR_COLSPAN */
 };  };
   
 static  void              print_spec(struct html *, enum roffdeco,  static  void              print_spec(struct html *, enum roffdeco,
Line 581  print_tagq(struct html *h, const struct tag *until)
Line 582  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) {
                   /*
                    * Remember to close out and nullify the current
                    * meta-font and table, if applicable.
                    */
                 if (tag == h->metaf)                  if (tag == h->metaf)
                         h->metaf = NULL;                          h->metaf = NULL;
                   if (tag == h->tblt)
                           h->tblt = 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 600  print_stagq(struct html *h, const struct tag *suntil)
Line 607  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;
                   /*
                    * Remember to close out and nullify the current
                    * meta-font and table, if applicable.
                    */
                 if (tag == h->metaf)                  if (tag == h->metaf)
                         h->metaf = NULL;                          h->metaf = NULL;
                   if (tag == h->tblt)
                           h->tblt = 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.124  
changed lines
  Added in v.1.125

CVSweb