=================================================================== RCS file: /cvs/mandoc/roff_html.c,v retrieving revision 1.7 retrieving revision 1.9 diff -u -p -r1.7 -r1.9 --- mandoc/roff_html.c 2017/06/06 15:01:04 1.7 +++ mandoc/roff_html.c 2017/06/14 13:00:31 1.9 @@ -1,4 +1,4 @@ -/* $Id: roff_html.c,v 1.7 2017/06/06 15:01:04 schwarze Exp $ */ +/* $Id: roff_html.c,v 1.9 2017/06/14 13:00:31 schwarze Exp $ */ /* * Copyright (c) 2010 Kristaps Dzonsons * Copyright (c) 2014, 2017 Ingo Schwarze @@ -38,6 +38,7 @@ static const roff_html_pre_fp roff_html_pre_acts[ROFF_ NULL, /* ft */ NULL, /* ll */ NULL, /* mc */ + roff_html_pre_ce, /* rj */ roff_html_pre_sp, /* sp */ NULL, /* ta */ NULL, /* ti */ @@ -83,7 +84,7 @@ roff_html_pre_sp(ROFF_HTML_ARGS) SCALE_VS_INIT(&su, 1); if ((n = n->child) != NULL) { - if (a2roffsu(n->string, &su, SCALE_VS) == 0) + if (a2roffsu(n->string, &su, SCALE_VS) == NULL) su.scale = 1.0; else if (su.scale < 0.0) su.scale = 0.0;