summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArik Devens <arik@src.gnome.org>2001-03-01 22:19:27 +0000
committerArik Devens <arik@src.gnome.org>2001-03-01 22:19:27 +0000
commitbc5bc3f2ffa4ba7417aa2f4ddb4be78b5d606425 (patch)
treef0841ae8fd7a5e473ed1efccd6f517b788fb0025
parent726ff2b6b30aac9aaab55548a986100d44e8947b (diff)
downloadyelp-bc5bc3f2ffa4ba7417aa2f4ddb4be78b5d606425.tar.gz
Changed so that info anchor tag uri's are always local. Fixes bug 6756.
-rw-r--r--src/info2html/html.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/info2html/html.c b/src/info2html/html.c
index 31db2e2c..f5dd8e54 100644
--- a/src/info2html/html.c
+++ b/src/info2html/html.c
@@ -53,7 +53,8 @@ char *form_info_tag_href( char *nodefile, char *nodename )
else
filename = nodefile;
- g_snprintf(tmp,sizeof(tmp),"HREF=\"info:%s#%s\"", filename, escaped_nodename );
+ g_snprintf (tmp, sizeof (tmp), "HREF=\"#%s\"", escaped_nodename);
+
if (escaped_nodename)
g_free(escaped_nodename);
return g_strdup(tmp);