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

Diff for /mandoc/mdoc_html.c between version 1.266 and 1.267

version 1.266, 2017/02/05 19:29:19 version 1.267, 2017/02/05 20:22:04
Line 649  mdoc_ns_pre(MDOC_ARGS)
Line 649  mdoc_ns_pre(MDOC_ARGS)
 static int  static int
 mdoc_ar_pre(MDOC_ARGS)  mdoc_ar_pre(MDOC_ARGS)
 {  {
         print_otag(h, TAG_I, "c", "Ar");          print_otag(h, TAG_VAR, "c", "Ar");
         return 1;          return 1;
 }  }
   
Line 1088  mdoc_fa_pre(MDOC_ARGS)
Line 1088  mdoc_fa_pre(MDOC_ARGS)
         struct tag              *t;          struct tag              *t;
   
         if (n->parent->tok != MDOC_Fo) {          if (n->parent->tok != MDOC_Fo) {
                 print_otag(h, TAG_I, "c", "Fa");                  print_otag(h, TAG_VAR, "c", "Fa");
                 return 1;                  return 1;
         }          }
   
         for (nn = n->child; nn; nn = nn->next) {          for (nn = n->child; nn; nn = nn->next) {
                 t = print_otag(h, TAG_I, "c", "Fa");                  t = print_otag(h, TAG_VAR, "c", "Fa");
                 print_text(h, nn->string);                  print_text(h, nn->string);
                 print_tagq(h, t);                  print_tagq(h, t);
                 if (nn->next) {                  if (nn->next) {
Line 1172  mdoc_vt_pre(MDOC_ARGS)
Line 1172  mdoc_vt_pre(MDOC_ARGS)
         } else if (n->type == ROFFT_HEAD)          } else if (n->type == ROFFT_HEAD)
                 return 0;                  return 0;
   
         print_otag(h, TAG_I, "c", "Vt");          print_otag(h, TAG_VAR, "c", "Vt");
         return 1;          return 1;
 }  }
   
Line 1180  static int
Line 1180  static int
 mdoc_ft_pre(MDOC_ARGS)  mdoc_ft_pre(MDOC_ARGS)
 {  {
         synopsis_pre(h, n);          synopsis_pre(h, n);
         print_otag(h, TAG_I, "c", "Ft");          print_otag(h, TAG_VAR, "c", "Ft");
         return 1;          return 1;
 }  }
   
Line 1201  mdoc_fn_pre(MDOC_ARGS)
Line 1201  mdoc_fn_pre(MDOC_ARGS)
   
         ep = strchr(sp, ' ');          ep = strchr(sp, ' ');
         if (NULL != ep) {          if (NULL != ep) {
                 t = print_otag(h, TAG_I, "c", "Ft");                  t = print_otag(h, TAG_VAR, "c", "Ft");
   
                 while (ep) {                  while (ep) {
                         sz = MIN((int)(ep - sp), BUFSIZ - 1);                          sz = MIN((int)(ep - sp), BUFSIZ - 1);
Line 1227  mdoc_fn_pre(MDOC_ARGS)
Line 1227  mdoc_fn_pre(MDOC_ARGS)
   
         for (n = n->child->next; n; n = n->next) {          for (n = n->child->next; n; n = n->next) {
                 if (NODE_SYNPRETTY & n->flags)                  if (NODE_SYNPRETTY & n->flags)
                         t = print_otag(h, TAG_I, "css?", "Fa",                          t = print_otag(h, TAG_VAR, "css?", "Fa",
                             "white-space", "nowrap");                              "white-space", "nowrap");
                 else                  else
                         t = print_otag(h, TAG_I, "c", "Fa");                          t = print_otag(h, TAG_VAR, "c", "Fa");
                 print_text(h, n->string);                  print_text(h, n->string);
                 print_tagq(h, t);                  print_tagq(h, t);
                 if (n->next) {                  if (n->next) {
Line 1438  mdoc_ic_pre(MDOC_ARGS)
Line 1438  mdoc_ic_pre(MDOC_ARGS)
 static int  static int
 mdoc_va_pre(MDOC_ARGS)  mdoc_va_pre(MDOC_ARGS)
 {  {
         print_otag(h, TAG_I, "c", "Va");          print_otag(h, TAG_VAR, "c", "Va");
         return 1;          return 1;
 }  }
   

Legend:
Removed from v.1.266  
changed lines
  Added in v.1.267

CVSweb