From 6d47b44511310c62f3a8897b0b6e2c8c3e08cd7e Mon Sep 17 00:00:00 2001 From: "Thomas E. Dickey" Date: Thu, 3 Oct 2013 08:21:55 -0400 Subject: snapshot of project "lynx", label v2-8-8dev_16k --- src/LYList.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/LYList.c b/src/LYList.c index b310c825..edd4f52a 100644 --- a/src/LYList.c +++ b/src/LYList.c @@ -1,5 +1,5 @@ /* - * $LynxId: LYList.c,v 1.52 2013/10/02 23:22:43 tom Exp $ + * $LynxId: LYList.c,v 1.53 2013/10/03 07:46:14 tom Exp $ * * Lynx Document Reference List Support LYList.c * ==================================== @@ -12,6 +12,7 @@ #include #include #include +#include #include #include #include @@ -293,6 +294,9 @@ static int print_refs(FILE *fp, int titles, int refs) fprintf(fp, "%s\n", title); } else { address = HTAnchor_short_address(dest); + if (LYCharSet_UC[current_char_set].enc == UCT_ENC_UTF8) { + (void) HTUnEscape(address); + } fprintf(fp, "%s\n", address); FREE(address); } -- cgit 1.4.1-2-gfad0