[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.244 and 1.245

version 1.244, 2017/01/10 13:47:00 version 1.245, 2017/01/10 21:59:47
Line 732  mdoc_ar_pre(MDOC_ARGS)
Line 732  mdoc_ar_pre(MDOC_ARGS)
 static int  static int
 mdoc_xx_pre(MDOC_ARGS)  mdoc_xx_pre(MDOC_ARGS)
 {  {
         const char      *pp;  
         struct htmlpair  tag;          struct htmlpair  tag;
         int              flags;  
   
         switch (n->tok) {  
         case MDOC_Bsx:  
                 pp = "BSD/OS";  
                 break;  
         case MDOC_Dx:  
                 pp = "DragonFly";  
                 break;  
         case MDOC_Fx:  
                 pp = "FreeBSD";  
                 break;  
         case MDOC_Nx:  
                 pp = "NetBSD";  
                 break;  
         case MDOC_Ox:  
                 pp = "OpenBSD";  
                 break;  
         case MDOC_Ux:  
                 pp = "UNIX";  
                 break;  
         default:  
                 return 1;  
         }  
   
         PAIR_CLASS_INIT(&tag, "unix");          PAIR_CLASS_INIT(&tag, "unix");
         print_otag(h, TAG_SPAN, 1, &tag);          print_otag(h, TAG_SPAN, 1, &tag);
           return 1;
         print_text(h, pp);  
         if (n->child) {  
                 flags = h->flags;  
                 h->flags |= HTML_KEEP;  
                 print_text(h, n->child->string);  
                 h->flags = flags;  
         }  
         return 0;  
 }  }
   
 static int  static int

Legend:
Removed from v.1.244  
changed lines
  Added in v.1.245

CVSweb