aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mdoc_term.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-02-09 09:52:47 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-02-09 09:52:47 +0000
commit8f65e2365fc46c19cff46c40dc76dbbd014fdbaa (patch)
tree0f87a48e9380aa73420fa32e1adfb2c9d159df54 /mdoc_term.c
parenta1933d3c64fdd2f70b36e98de723f84692e136b1 (diff)
downloadmandoc-8f65e2365fc46c19cff46c40dc76dbbd014fdbaa.tar.gz
mandoc-8f65e2365fc46c19cff46c40dc76dbbd014fdbaa.tar.zst
mandoc-8f65e2365fc46c19cff46c40dc76dbbd014fdbaa.zip
EQN blocks are now printed in all modes. This is simply a printing of
the concatenated string (in -T[x]html, it gets a SPAN, too).
Diffstat (limited to 'mdoc_term.c')
-rw-r--r--mdoc_term.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mdoc_term.c b/mdoc_term.c
index 25ad7fea..a6d6dd89 100644
--- a/mdoc_term.c
+++ b/mdoc_term.c
@@ -1,4 +1,4 @@
-/* $Id: mdoc_term.c,v 1.218 2011/02/06 23:02:31 schwarze Exp $ */
+/* $Id: mdoc_term.c,v 1.219 2011/02/09 09:52:47 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010 Ingo Schwarze <schwarze@openbsd.org>
@@ -355,6 +355,7 @@ print_mdoc_node(DECL_ARGS)
term_word(p, n->string);
break;
case (MDOC_EQN):
+ term_word(p, n->eqn->data);
break;
case (MDOC_TBL):
term_tbl(p, n->span);