summaryrefslogtreecommitdiffstats
path: root/mdoc.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-12-25 13:50:37 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-12-25 13:50:37 +0000
commit72dde2cbfd108b1a17101a36f17ed4abd72231db (patch)
tree5ab22c55d9287160446e75081ed4fe2b2a059238 /mdoc.c
parent66602c8db181a50641e1c399880c1cc036d8ecec (diff)
downloadmandoc-72dde2cbfd108b1a17101a36f17ed4abd72231db.tar.gz
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.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mdoc.c b/mdoc.c
index 7dfbd585..497f19e6 100644
--- a/mdoc.c
+++ b/mdoc.c
@@ -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: