summaryrefslogtreecommitdiff
path: root/usr.bin/mandoc/mdoc_html.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2010-04-04 00:00:13 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2010-04-04 00:00:13 +0000
commit2a477c4b7c833b885282eea42e33b1d38dd95cca (patch)
tree9430bb750884bdb4f30907577af44bd587df93d6 /usr.bin/mandoc/mdoc_html.c
parent8ccbe956b8a4d66f0f2ebfe01c66ead5de71b7e9 (diff)
Better write 'href="mailto:' instead of 'style="mailto:'.
Diff from Tim van der Molen <tbvdm at xs4all dot nl>, thanks! ok kristaps@
Diffstat (limited to 'usr.bin/mandoc/mdoc_html.c')
-rw-r--r--usr.bin/mandoc/mdoc_html.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/mandoc/mdoc_html.c b/usr.bin/mandoc/mdoc_html.c
index fad95b2d99c..f41d6acf420 100644
--- a/usr.bin/mandoc/mdoc_html.c
+++ b/usr.bin/mandoc/mdoc_html.c
@@ -1,4 +1,4 @@
-/* $Id: mdoc_html.c,v 1.9 2010/04/03 17:06:19 schwarze Exp $ */
+/* $Id: mdoc_html.c,v 1.10 2010/04/04 00:00:12 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -1803,7 +1803,7 @@ mdoc_mt_pre(MDOC_ARGS)
bufinit(h);
bufcat(h, "mailto:");
bufcat(h, nn->string);
- PAIR_STYLE_INIT(&tag[1], h);
+ PAIR_HREF_INIT(&tag[1], h->buf);
t = print_otag(h, TAG_A, 2, tag);
print_text(h, nn->string);
print_tagq(h, t);