diff options
Diffstat (limited to 'mdoc_html.c')
-rw-r--r-- | mdoc_html.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/mdoc_html.c b/mdoc_html.c index c04280f2..0697d35d 100644 --- a/mdoc_html.c +++ b/mdoc_html.c @@ -1,4 +1,4 @@ -/* $Id: mdoc_html.c,v 1.30 2009/10/15 01:33:12 kristaps Exp $ */ +/* $Id: mdoc_html.c,v 1.31 2009/10/18 11:14:04 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se> * @@ -343,6 +343,8 @@ static void a2offs(const char *p, struct roffsu *su) { + /* FIXME: "right"? */ + if (0 == strcmp(p, "left")) SCALE_HS_INIT(su, 0); else if (0 == strcmp(p, "indent")) @@ -1372,6 +1374,8 @@ mdoc_bd_pre(MDOC_ARGS) break; } + /* FIXME: -centered, etc. formatting. */ + if (MDOC_BLOCK == n->type) { bufcat_su(h, "margin-left", &su); for (nn = n; nn && ! comp; nn = nn->parent) { |