summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikael Hallendal <micke@codefactory.se>2002-03-03 14:11:23 +0000
committerMikael Hallendal <hallski@src.gnome.org>2002-03-03 14:11:23 +0000
commit72bc4b5dd84cda3553874ad10e111efdcc26ca6c (patch)
treeefc8db9b75383b1fc43edd50d40575700f58be65
parent1072b7c98d7c9b01f23b373b525ec31344698b34 (diff)
downloadyelp-LIBGNOME_1_114_0.tar.gz
add a &nbsp; in anchor tag, otherwise gtkhtml2 won't be able to jump toLIBGNOME_1_114_0LIBGNOME_1_113_0LIBGNOME_1_112_1
2002-03-03 Mikael Hallendal <micke@codefactory.se> * help-converters/info/html.c: (dump_html_for_node): add a &nbsp; in anchor tag, otherwise gtkhtml2 won't be able to jump to it.
-rw-r--r--src/info2html/html.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/info2html/html.c b/src/info2html/html.c
index 5d6c0e20..80be2a68 100644
--- a/src/info2html/html.c
+++ b/src/info2html/html.c
@@ -324,7 +324,7 @@ void dump_html_for_node( NODE *node )
/* make an anchor */
escaped_nodename = escape_html_chars( node->nodename );
map_spaces_to_underscores( escaped_nodename );
- fprintf(f, "<A name=\"%s\"></A>\n",escaped_nodename);
+ fprintf(f, "<A name=\"%s\">&nbsp;</A>\n",escaped_nodename);
g_free(escaped_nodename);
/* links to other immediate nodes */