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

Diff for /mandoc/html.c between version 1.230 and 1.234

version 1.230, 2018/05/28 14:13:36 version 1.234, 2018/06/25 13:26:57
Line 694  print_otag(struct html *h, enum htmltag tag, const cha
Line 694  print_otag(struct html *h, enum htmltag tag, const cha
                                 su = &mysu;                                  su = &mysu;
                                 a2width(arg2, su);                                  a2width(arg2, su);
                         }                          }
                         if (*fmt == '*') {  
                                 if (su != NULL && su->unit == SCALE_EN &&  
                                     su->scale > 5.9 && su->scale < 6.1)  
                                         su = NULL;  
                                 fmt++;  
                         }  
                         if (*fmt == '+') {                          if (*fmt == '+') {
                                 if (su != NULL) {                                  if (su != NULL) {
                                         /* Make even bold text fit. */                                          /* Make even bold text fit. */
Line 709  print_otag(struct html *h, enum htmltag tag, const cha
Line 703  print_otag(struct html *h, enum htmltag tag, const cha
                                 }                                  }
                                 fmt++;                                  fmt++;
                         }                          }
                         if (*fmt == '-') {  
                                 if (su != NULL)  
                                         su->scale *= -1.0;  
                                 fmt++;  
                         }  
                         break;                          break;
                 default:                  default:
                         abort();                          abort();
Line 724  print_otag(struct html *h, enum htmltag tag, const cha
Line 713  print_otag(struct html *h, enum htmltag tag, const cha
                 switch (*fmt++) {                  switch (*fmt++) {
                 case 'h':                  case 'h':
                         attr = "height";                          attr = "height";
                         break;  
                 case 'i':  
                         attr = "text-indent";  
                         break;                          break;
                 case 'l':                  case 'l':
                         attr = "margin-left";                          attr = "margin-left";

Legend:
Removed from v.1.230  
changed lines
  Added in v.1.234

CVSweb