summaryrefslogtreecommitdiffstats
path: root/mdoc_html.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-05-17 11:38:18 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-05-17 11:38:18 +0000
commit8cd2f76125361d3c04dd2730e7748c925a33d2a2 (patch)
treec2be005cd67c0fd9170a7e3b36b5207b1eb9baf9 /mdoc_html.c
parent76be1e51fc96ec5836c6a7b70dbb91beed5c8635 (diff)
downloadmandoc-8cd2f76125361d3c04dd2730e7748c925a33d2a2.tar.gz
Clean-up fallout: differentiate ID's and HREF's (where to put the `#').
Make buffmt functions internally bufinit(), too.
Diffstat (limited to 'mdoc_html.c')
-rw-r--r--mdoc_html.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mdoc_html.c b/mdoc_html.c
index 11713554..226c4205 100644
--- a/mdoc_html.c
+++ b/mdoc_html.c
@@ -1171,6 +1171,7 @@ mdoc_sx_pre(MDOC_ARGS)
struct htmlpair tag[2];
bufinit(h);
+ bufcat(h, "#x");
for (n = n->child; n; n = n->next) {
bufcat_id(h, n->string);
if (n->next)