summaryrefslogtreecommitdiff
path: root/usr.bin/mandoc/man_html.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2011-09-18 10:25:29 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2011-09-18 10:25:29 +0000
commit4f50809e67b9f55a658e7971ff3fdb7315acd3d7 (patch)
tree8313e9c25a5e5ecc27954763967407abdb8ce6e2 /usr.bin/mandoc/man_html.c
parenta7ddd4c92498f0e8d565f15959dc99a464ec51a1 (diff)
sync to version 1.11.5:
adding an implementation of the eqn(7) language by kristaps@ So far, only .EQ/.EN blocks are handled, in-line equations are not, and rendering is not yet very pretty, but the parser is fairly complete.
Diffstat (limited to 'usr.bin/mandoc/man_html.c')
-rw-r--r--usr.bin/mandoc/man_html.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/usr.bin/mandoc/man_html.c b/usr.bin/mandoc/man_html.c
index 0dea648b2bc..1dcfe5aea61 100644
--- a/usr.bin/mandoc/man_html.c
+++ b/usr.bin/mandoc/man_html.c
@@ -1,4 +1,4 @@
-/* $Id: man_html.c,v 1.40 2011/07/08 17:47:54 schwarze Exp $ */
+/* $Id: man_html.c,v 1.41 2011/09/18 10:25:28 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -197,7 +197,6 @@ print_man_node(MAN_ARGS)
{
int child;
struct tag *t;
- struct htmlpair tag;
child = 1;
t = h->tags.head;
@@ -225,9 +224,7 @@ print_man_node(MAN_ARGS)
print_text(h, n->string);
return;
case (MAN_EQN):
- PAIR_CLASS_INIT(&tag, "eqn");
- print_otag(h, TAG_SPAN, 1, &tag);
- print_text(h, n->eqn->data);
+ print_eqn(h, n->eqn);
break;
case (MAN_TBL):
/*