From 66611c2a2aece81705e614fe7d87b9abe3495b7c Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Sun, 3 Jul 2011 22:57:32 +0000 Subject: Fix a TODO noted by schwarze@, originally by Christian Weisgerber: literal mode (`nf') is ended by SH (and, it turns out, SS as well). Noted the updated behaviour in man.7 as well. --- man_html.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'man_html.c') diff --git a/man_html.c b/man_html.c index f3aab2e2..fe79390c 100644 --- a/man_html.c +++ b/man_html.c @@ -1,4 +1,4 @@ -/* $Id: man_html.c,v 1.75 2011/06/29 15:38:09 kristaps Exp $ */ +/* $Id: man_html.c,v 1.76 2011/07/03 22:57:32 kristaps Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons * @@ -439,6 +439,7 @@ man_SH_pre(MAN_ARGS) struct htmlpair tag; if (MAN_BLOCK == n->type) { + mh->fl &= ~MANH_LITERAL; PAIR_CLASS_INIT(&tag, "section"); print_otag(h, TAG_DIV, 1, &tag); return(1); @@ -520,6 +521,7 @@ man_SS_pre(MAN_ARGS) struct htmlpair tag; if (MAN_BLOCK == n->type) { + mh->fl &= ~MANH_LITERAL; PAIR_CLASS_INIT(&tag, "subsection"); print_otag(h, TAG_DIV, 1, &tag); return(1); -- cgit v1.2.3-56-ge451