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

Diff for /mandoc/roff_html.c between version 1.18 and 1.21

version 1.18, 2019/01/06 04:55:09 version 1.21, 2020/06/22 19:20:40
Line 1 
Line 1 
 /*      $Id$ */  /* $Id$ */
 /*  /*
  * Copyright (c) 2010 Kristaps Dzonsons <kristaps@bsd.lv>   * Copyright (c) 2010 Kristaps Dzonsons <kristaps@bsd.lv>
  * Copyright (c) 2014, 2017, 2018, 2019 Ingo Schwarze <schwarze@openbsd.org>   * Copyright (c) 2014, 2017, 2018, 2019 Ingo Schwarze <schwarze@openbsd.org>
Line 15 
Line 15 
  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF   * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.   * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */   */
   #include "config.h"
   
 #include <sys/types.h>  #include <sys/types.h>
   
 #include <assert.h>  #include <assert.h>
Line 94  roff_html_pre_ft(ROFF_HTML_ARGS)
Line 96  roff_html_pre_ft(ROFF_HTML_ARGS)
         const char      *cp;          const char      *cp;
   
         cp = n->child->string;          cp = n->child->string;
         print_metaf(h, mandoc_font(cp, (int)strlen(cp)));          html_setfont(h, mandoc_font(cp, (int)strlen(cp)));
 }  }
   
 static void  static void
Line 110  roff_html_pre_sp(ROFF_HTML_ARGS)
Line 112  roff_html_pre_sp(ROFF_HTML_ARGS)
         if (html_fillmode(h, TOKEN_NONE) == ROFF_nf) {          if (html_fillmode(h, TOKEN_NONE) == ROFF_nf) {
                 h->col++;                  h->col++;
                 print_endline(h);                  print_endline(h);
         } else if (n->parent->tok >= MAN_TH)          } else {
                   html_close_paragraph(h);
                 print_otag(h, TAG_P, "c", "Pp");                  print_otag(h, TAG_P, "c", "Pp");
         else          }
                 print_paragraph(h);  
 }  }

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.21

CVSweb