=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/mandoc/mdoc_html.c,v retrieving revision 1.141 retrieving revision 1.142 diff -c -r1.141 -r1.142 *** src/usr.bin/mandoc/mdoc_html.c 2017/02/05 19:29:03 1.141 --- src/usr.bin/mandoc/mdoc_html.c 2017/02/05 20:21:17 1.142 *************** *** 1,4 **** ! /* $OpenBSD: mdoc_html.c,v 1.141 2017/02/05 19:29:03 schwarze Exp $ */ /* * Copyright (c) 2008-2011, 2014 Kristaps Dzonsons * Copyright (c) 2014, 2015, 2016, 2017 Ingo Schwarze --- 1,4 ---- ! /* $OpenBSD: mdoc_html.c,v 1.142 2017/02/05 20:21:17 schwarze Exp $ */ /* * Copyright (c) 2008-2011, 2014 Kristaps Dzonsons * Copyright (c) 2014, 2015, 2016, 2017 Ingo Schwarze *************** *** 647,653 **** static int mdoc_ar_pre(MDOC_ARGS) { ! print_otag(h, TAG_I, "c", "Ar"); return 1; } --- 647,653 ---- static int mdoc_ar_pre(MDOC_ARGS) { ! print_otag(h, TAG_VAR, "c", "Ar"); return 1; } *************** *** 1086,1097 **** struct tag *t; if (n->parent->tok != MDOC_Fo) { ! print_otag(h, TAG_I, "c", "Fa"); return 1; } for (nn = n->child; nn; nn = nn->next) { ! t = print_otag(h, TAG_I, "c", "Fa"); print_text(h, nn->string); print_tagq(h, t); if (nn->next) { --- 1086,1097 ---- struct tag *t; if (n->parent->tok != MDOC_Fo) { ! print_otag(h, TAG_VAR, "c", "Fa"); return 1; } for (nn = n->child; nn; nn = nn->next) { ! t = print_otag(h, TAG_VAR, "c", "Fa"); print_text(h, nn->string); print_tagq(h, t); if (nn->next) { *************** *** 1170,1176 **** } else if (n->type == ROFFT_HEAD) return 0; ! print_otag(h, TAG_I, "c", "Vt"); return 1; } --- 1170,1176 ---- } else if (n->type == ROFFT_HEAD) return 0; ! print_otag(h, TAG_VAR, "c", "Vt"); return 1; } *************** *** 1178,1184 **** mdoc_ft_pre(MDOC_ARGS) { synopsis_pre(h, n); ! print_otag(h, TAG_I, "c", "Ft"); return 1; } --- 1178,1184 ---- mdoc_ft_pre(MDOC_ARGS) { synopsis_pre(h, n); ! print_otag(h, TAG_VAR, "c", "Ft"); return 1; } *************** *** 1199,1205 **** ep = strchr(sp, ' '); if (NULL != ep) { ! t = print_otag(h, TAG_I, "c", "Ft"); while (ep) { sz = MIN((int)(ep - sp), BUFSIZ - 1); --- 1199,1205 ---- ep = strchr(sp, ' '); if (NULL != ep) { ! t = print_otag(h, TAG_VAR, "c", "Ft"); while (ep) { sz = MIN((int)(ep - sp), BUFSIZ - 1); *************** *** 1225,1234 **** for (n = n->child->next; n; n = n->next) { if (NODE_SYNPRETTY & n->flags) ! t = print_otag(h, TAG_I, "css?", "Fa", "white-space", "nowrap"); else ! t = print_otag(h, TAG_I, "c", "Fa"); print_text(h, n->string); print_tagq(h, t); if (n->next) { --- 1225,1234 ---- for (n = n->child->next; n; n = n->next) { if (NODE_SYNPRETTY & n->flags) ! t = print_otag(h, TAG_VAR, "css?", "Fa", "white-space", "nowrap"); else ! t = print_otag(h, TAG_VAR, "c", "Fa"); print_text(h, n->string); print_tagq(h, t); if (n->next) { *************** *** 1436,1442 **** static int mdoc_va_pre(MDOC_ARGS) { ! print_otag(h, TAG_I, "c", "Va"); return 1; } --- 1436,1442 ---- static int mdoc_va_pre(MDOC_ARGS) { ! print_otag(h, TAG_VAR, "c", "Va"); return 1; }