diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-12-25 13:50:37 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-12-25 13:50:37 +0000 |
commit | 97ea338f64152142a27642d6ee10c3a0ae63be1e (patch) | |
tree | 1b2d5de6e555a424a34af16bcbfcd0dd5015c9ba /mdoc.c | |
parent | 7e94ba8189f4be23fa521d65778589feb5655811 (diff) | |
download | mandoc-97ea338f64152142a27642d6ee10c3a0ae63be1e.tar.gz mandoc-97ea338f64152142a27642d6ee10c3a0ae63be1e.tar.zst mandoc-97ea338f64152142a27642d6ee10c3a0ae63be1e.zip |
Specifying both %T and %J in an `Rs' block causes the title to be quoted
instead of underlined. This only happens in -Tascii, as -T[x]html both
underlines and italicises.
Diffstat (limited to 'mdoc.c')
-rw-r--r-- | mdoc.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: mdoc.c,v 1.172 2010/12/24 14:00:40 kristaps Exp $ */ +/* $Id: mdoc.c,v 1.173 2010/12/25 13:50:37 kristaps Exp $ */ /* * Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2010 Ingo Schwarze <schwarze@openbsd.org> @@ -484,6 +484,8 @@ mdoc_block_alloc(struct mdoc *m, int line, int pos, case (MDOC_Bf): /* FALLTHROUGH */ case (MDOC_Bl): + /* FALLTHROUGH */ + case (MDOC_Rs): p->norm = mandoc_calloc(1, sizeof(union mdoc_data)); break; default: |