summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/html.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/html.cc b/src/html.cc
index 997287ca..04b4ac84 100644
--- a/src/html.cc
+++ b/src/html.cc
@@ -2770,7 +2770,8 @@ static void Html_tag_open_a(DilloHtml *html, const char *tag, int tagsize)
/* We compare the "id" value with the url-decoded "name" value */
if (!id || strcmp(nameVal, id)) {
if (id)
- BUG_MSG("'id' and 'name' attribute of <a> tag differ\n");
+ BUG_MSG("id ('%s') and name ('%s') attributes of <a> tag "
+ "differ\n", id, nameVal);
Html_add_anchor(html, nameVal);
}