diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-07-03 22:57:32 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-07-03 22:57:32 +0000 |
commit | 15ae9721617b86af0d3035bd1192a62ee7f8b9a9 (patch) | |
tree | 61a43b815fec68cd8e43f9ad41f50f02552c1016 /man_html.c | |
parent | 4e20fd8a92021a6d906876ce250654c04e8ef099 (diff) | |
download | mandoc-15ae9721617b86af0d3035bd1192a62ee7f8b9a9.tar.gz |
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.
Diffstat (limited to 'man_html.c')
-rw-r--r-- | man_html.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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); |