From 53b5d29222e1768659eb3f30de4c87a1be30c59c Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Sat, 2 Jun 2012 20:16:23 +0000 Subject: Minimal implementation of .EX and .EE for GNU compatibility. Do not use this, it is not portable and only defined in esr's man-ext. For example, sox(1) wants these macros. --- man_html.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'man_html.c') diff --git a/man_html.c b/man_html.c index a4f64c5e..73709b82 100644 --- a/man_html.c +++ b/man_html.c @@ -1,4 +1,4 @@ -/* $Id: man_html.c,v 1.87 2012/05/27 17:39:28 schwarze Exp $ */ +/* $Id: man_html.c,v 1.88 2012/06/02 20:16:23 schwarze Exp $ */ /* * Copyright (c) 2008-2012 Kristaps Dzonsons * @@ -113,6 +113,8 @@ static const struct htmlman mans[MAN_MAX] = { { man_in_pre, NULL }, /* in */ { man_ign_pre, NULL }, /* ft */ { man_OP_pre, NULL }, /* OP */ + { man_literal_pre, NULL }, /* EX */ + { man_literal_pre, NULL }, /* EE */ }; /* @@ -638,7 +640,7 @@ static int man_literal_pre(MAN_ARGS) { - if (MAN_nf != n->tok) { + if (MAN_fi == n->tok || MAN_EE == n->tok) { print_otag(h, TAG_BR, 0, NULL); mh->fl &= ~MANH_LITERAL; } else -- cgit v1.2.3