From e23a77096fcef5d491ce207daaa9ce6f57384647 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Fri, 25 May 2018 20:23:51 +0000 Subject: Do not write duplicate id= attributes, they violate HTML syntax. Append suffixes for disambiguation. Issue first reported by Jakub Klinkovsky (Arch Linux). --- html.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'html.h') diff --git a/html.h b/html.h index fc722694..1ded39e0 100644 --- a/html.h +++ b/html.h @@ -1,4 +1,4 @@ -/* $Id: html.h,v 1.89 2018/05/09 00:46:10 schwarze Exp $ */ +/* $Id: html.h,v 1.90 2018/05/25 20:23:51 schwarze Exp $ */ /* * Copyright (c) 2008-2011, 2014 Kristaps Dzonsons * Copyright (c) 2017, 2018 Ingo Schwarze @@ -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 *); -- cgit v1.2.3