diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2018-05-25 20:23:51 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2018-05-25 20:23:51 +0000 |
commit | 08a70c0ec8737fa1eef21f338aea5d527de6e779 (patch) | |
tree | 5595ac694a287e63e09d4a508df2a22aded8fc2d /html.h | |
parent | 1f3a93e77917534228a285ef0cb54e575870b4dd (diff) | |
download | mandoc-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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 *); |