summaryrefslogtreecommitdiffstats
path: root/html.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2018-05-25 20:23:51 +0000
committerIngo Schwarze <schwarze@openbsd.org>2018-05-25 20:23:51 +0000
commit08a70c0ec8737fa1eef21f338aea5d527de6e779 (patch)
tree5595ac694a287e63e09d4a508df2a22aded8fc2d /html.h
parent1f3a93e77917534228a285ef0cb54e575870b4dd (diff)
downloadmandoc-08a70c0ec8737fa1eef21f338aea5d527de6e779.tar.gz
Do not write duplicate id= attributes, they violate HTML syntax.
Append suffixes for disambiguation. Issue first reported by Jakub Klinkovsky <j dot l dot k at gmx dot com> (Arch Linux).
Diffstat (limited to 'html.h')
-rw-r--r--html.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/html.h b/html.h
index 9bf2e524..b6d411f6 100644
--- a/html.h
+++ b/html.h
@@ -133,5 +133,5 @@ void print_eqn(struct html *, const struct eqn_box *);
void print_paragraph(struct html *);
void print_endline(struct html *);
-char *html_make_id(const struct roff_node *);
+char *html_make_id(const struct roff_node *, int);
int html_strlen(const char *);