diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2013-10-03 08:21:55 -0400 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2013-10-03 08:21:55 -0400 |
commit | 6d47b44511310c62f3a8897b0b6e2c8c3e08cd7e (patch) | |
tree | c97ce9b0a137127fffbaca40310aa6ffe0bceeb3 /src | |
parent | 2ece1f977bb53217adbb83948ecfeec75db7cf4b (diff) | |
download | lynx-snapshots-6d47b44511310c62f3a8897b0b6e2c8c3e08cd7e.tar.gz |
snapshot of project "lynx", label v2-8-8dev_16k
Diffstat (limited to 'src')
-rw-r--r-- | src/LYList.c | 6 |
1 files changed, 5 insertions, 1 deletions
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 <HTAlert.h> #include <LYUtils.h> #include <GridText.h> +#include <HTParse.h> #include <LYList.h> #include <LYMap.h> #include <LYClean.h> @@ -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); } |