aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mdoc_html.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2014-09-27 09:13:39 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2014-09-27 09:13:39 +0000
commit827b4587075bca8e968c6a815c176ce01fbb45ae (patch)
tree0f6c0d98bf123dd1318eb2c913592fa3473f8482 /mdoc_html.c
parent6f603eaa29c0c620155a4676d14e514aae64f7fc (diff)
downloadmandoc-827b4587075bca8e968c6a815c176ce01fbb45ae.tar.gz
mandoc-827b4587075bca8e968c6a815c176ce01fbb45ae.tar.zst
mandoc-827b4587075bca8e968c6a815c176ce01fbb45ae.zip
Continue in HTML5-ing by kicking out some hard-coded alignments.
Diffstat (limited to 'mdoc_html.c')
-rw-r--r--mdoc_html.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/mdoc_html.c b/mdoc_html.c
index c251041a..942fc83d 100644
--- a/mdoc_html.c
+++ b/mdoc_html.c
@@ -1,4 +1,4 @@
-/* $Id: mdoc_html.c,v 1.202 2014/09/27 09:05:57 kristaps Exp $ */
+/* $Id: mdoc_html.c,v 1.203 2014/09/27 09:13:39 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2014 Ingo Schwarze <schwarze@openbsd.org>
@@ -503,8 +503,7 @@ mdoc_root_post(MDOC_ARGS)
print_stagq(h, tt);
PAIR_CLASS_INIT(&tag[0], "foot-os");
- PAIR_INIT(&tag[1], ATTR_ALIGN, "right");
- print_otag(h, TAG_TD, 2, tag);
+ print_otag(h, TAG_TD, 1, tag);
print_text(h, meta->os);
print_tagq(h, t);
}
@@ -551,8 +550,7 @@ mdoc_root_pre(MDOC_ARGS)
print_stagq(h, tt);
PAIR_CLASS_INIT(&tag[0], "head-rtitle");
- PAIR_INIT(&tag[1], ATTR_ALIGN, "right");
- print_otag(h, TAG_TD, 2, tag);
+ print_otag(h, TAG_TD, 1, tag);
print_text(h, title);
print_tagq(h, t);