-/* $Id: mdoc_html.c,v 1.204 2014/09/27 09:20:03 kristaps Exp $ */
+/* $Id: mdoc_html.c,v 1.208 2014/10/10 15:26:29 schwarze Exp $ */
/*
- * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
+ * Copyright (c) 2008-2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2014 Ingo Schwarze <schwarze@openbsd.org>
*
* Permission to use, copy, modify, and distribute this software for any
case MDOC_In:
/* FALLTHROUGH */
case MDOC_Vt:
- print_otag(h, TAG_P, 0, NULL);
+ print_paragraph(h);
break;
case MDOC_Ft:
if (MDOC_Fn != n->tok && MDOC_Fo != n->tok) {
- print_otag(h, TAG_P, 0, NULL);
+ print_paragraph(h);
break;
}
/* FALLTHROUGH */
PAIR_CLASS_INIT(&tag, "foot");
t = print_otag(h, TAG_TABLE, 1, &tag);
- PAIR_INIT(&tag, ATTR_WIDTH, "50%");
- print_otag(h, TAG_COL, 1, &tag);
- print_otag(h, TAG_COL, 1, &tag);
print_otag(h, TAG_TBODY, 0, NULL);
PAIR_CLASS_INIT(&tag, "head");
t = print_otag(h, TAG_TABLE, 1, &tag);
- PAIR_INIT(&tag, ATTR_WIDTH, "30%");
- print_otag(h, TAG_COL, 1, &tag);
- print_otag(h, TAG_COL, 1, &tag);
- print_otag(h, TAG_COL, 1, &tag);
print_otag(h, TAG_TBODY, 0, NULL);
break;
}
if ( ! comp)
- print_otag(h, TAG_P, 0, NULL);
+ print_paragraph(h);
return(1);
}
mdoc_pp_pre(MDOC_ARGS)
{
- print_otag(h, TAG_P, 0, NULL);
+ print_paragraph(h);
return(0);
}
return(1);
if (n->prev && SEC_SEE_ALSO == n->sec)
- print_otag(h, TAG_P, 0, NULL);
+ print_paragraph(h);
PAIR_CLASS_INIT(&tag, "ref");
print_otag(h, TAG_SPAN, 1, &tag);