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

Diff for /mandoc/html.c between version 1.221 and 1.222

version 1.221, 2018/04/13 16:28:07 version 1.222, 2018/05/01 23:36:55
Line 168  print_gen_head(struct html *h)
Line 168  print_gen_head(struct html *h)
         struct tag      *t;          struct tag      *t;
   
         print_otag(h, TAG_META, "?", "charset", "utf-8");          print_otag(h, TAG_META, "?", "charset", "utf-8");
           if (h->style != NULL) {
                   print_otag(h, TAG_LINK, "?h??", "rel", "stylesheet",
                       h->style, "type", "text/css", "media", "all");
                   return;
           }
   
         /*          /*
          * Print a default style-sheet.           * Print a minimal embedded style sheet.
          */           */
   
         t = print_otag(h, TAG_STYLE, "");          t = print_otag(h, TAG_STYLE, "");
Line 182  print_gen_head(struct html *h)
Line 187  print_gen_head(struct html *h)
         print_endline(h);          print_endline(h);
         print_text(h, "div.Pp { margin: 1ex 0ex; }");          print_text(h, "div.Pp { margin: 1ex 0ex; }");
         print_tagq(h, t);          print_tagq(h, t);
   
         if (h->style)  
                 print_otag(h, TAG_LINK, "?h??", "rel", "stylesheet",  
                     h->style, "type", "text/css", "media", "all");  
 }  }
   
 static void  static void

Legend:
Removed from v.1.221  
changed lines
  Added in v.1.222

CVSweb