[BACK]Return to mdoc_html.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / mandoc

Diff for /src/usr.bin/mandoc/mdoc_html.c between version 1.214 and 1.215

version 1.214, 2020/04/18 20:28:46 version 1.215, 2020/04/19 15:15:54
Line 693 
Line 693 
 {  {
         char    *id;          char    *id;
   
         if ((id = html_make_id(n, 1)) != NULL)          if ((id = html_make_id(n, 1)) != NULL) {
                 print_tagq(h, print_otag(h, TAG_MARK, "i", id));                  print_tagq(h, print_otag(h, TAG_MARK, "i", id));
                   free(id);
           }
         return 0;          return 0;
 }  }
   
Line 1209 
Line 1211 
 static int  static int
 mdoc_pp_pre(MDOC_ARGS)  mdoc_pp_pre(MDOC_ARGS)
 {  {
           char    *id;
   
         if (n->flags & NODE_NOFILL) {          if (n->flags & NODE_NOFILL) {
                 print_endline(h);                  print_endline(h);
                 if (n->flags & NODE_ID)                  if (n->flags & NODE_ID)
Line 1219 
Line 1223 
                 }                  }
         } else {          } else {
                 html_close_paragraph(h);                  html_close_paragraph(h);
                 print_otag(h, TAG_P, "ci", "Pp",                  id = n->flags & NODE_ID ? html_make_id(n, 1) : NULL;
                     n->flags & NODE_ID ? html_make_id(n, 1) : NULL);                  print_otag(h, TAG_P, "ci", "Pp", id);
                   free(id);
         }          }
         return 0;          return 0;
 }  }

Legend:
Removed from v.1.214  
changed lines
  Added in v.1.215