diff options
author | 2011-03-20 23:36:42 +0000 | |
---|---|---|
committer | 2011-03-20 23:36:42 +0000 | |
commit | 8d973ab119273c11ad7f320bfed8d32e8a0d6d10 (patch) | |
tree | e658fb3bb47acda8528f51b78b59375134ad24ba /usr.bin/mandoc/man_html.c | |
parent | Add two missing lines that got missed when I did the initial at + cron (diff) | |
download | wireguard-openbsd-8d973ab119273c11ad7f320bfed8d32e8a0d6d10.tar.xz wireguard-openbsd-8d973ab119273c11ad7f320bfed8d32e8a0d6d10.zip |
Import the foundation for eqn(7) support.
Written by kristaps@.
For now, i'm adding one line to each of the four frontends
to just pass the input text through to the output,
not yet interpreting any of then eqn keywords.
Diffstat (limited to 'usr.bin/mandoc/man_html.c')
-rw-r--r-- | usr.bin/mandoc/man_html.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/mandoc/man_html.c b/usr.bin/mandoc/man_html.c index 41550ff5048..526835e6576 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.35 2011/03/07 01:35:33 schwarze Exp $ */ +/* $Id: man_html.c,v 1.36 2011/03/20 23:36:42 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> * @@ -200,6 +200,9 @@ print_man_node(MAN_ARGS) n->next->line > n->line)) print_otag(h, TAG_BR, 0, NULL); return; + case (MAN_EQN): + print_text(h, n->eqn->data); + return; case (MAN_TBL): /* * This will take care of initialising all of the table |