aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/html.c
diff options
context:
space:
mode:
Diffstat (limited to 'html.c')
-rw-r--r--html.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/html.c b/html.c
index b2b88a41..caf6f473 100644
--- a/html.c
+++ b/html.c
@@ -1,4 +1,4 @@
-/* $Id: html.c,v 1.19 2008/12/10 00:52:46 kristaps Exp $ */
+/* $Id: html.c,v 1.20 2008/12/10 00:58:15 kristaps Exp $ */
/*
* Copyright (c) 2008 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -485,7 +485,10 @@ html_begin(struct md_mbuf *mbuf, const struct md_args *args,
if ( ! html_tputln(mbuf, ML_CLOSE, i, HTML_TAG_TD))
return(0);
- if ( ! html_tputln(mbuf, ML_OPEN, i, HTML_TAG_TD))
+ attr[0].attr = HTML_ATTR_ALIGN;
+ attr[0].val = "right";
+
+ if ( ! html_aputln(mbuf, ML_OPEN, i, HTML_TAG_TD, 1, attr))
return(0);
if ( ! ml_putstring(mbuf, ts, NULL))
return(0);