From c8447472bfaba306772d7d08042ba8efd943b152 Mon Sep 17 00:00:00 2001 From: Jason Boyer Date: Mon, 13 Feb 2017 16:59:01 -0500 Subject: [PATCH] LP1371772: Correct Escape of Library Info URL Using the url filter in TT2 causes named anchors to be escaped in such a way that urls including them will likely return a 404. Since the url is being used in an html document, the html filter is sufficient and allows the url to work as intended. Signed-off-by: Jason Boyer Signed-off-by: Galen Charlton --- Open-ILS/src/templates/opac/parts/library/core_info.tt2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/src/templates/opac/parts/library/core_info.tt2 b/Open-ILS/src/templates/opac/parts/library/core_info.tt2 index a47d68fc8a..cdaf0473e4 100644 --- a/Open-ILS/src/templates/opac/parts/library/core_info.tt2 +++ b/Open-ILS/src/templates/opac/parts/library/core_info.tt2 @@ -11,7 +11,7 @@ [%- lib_url = ctx.get_org_setting(ctx.library.id, 'lib.info_url'); IF lib_url; - ''; + ''; END; -%] -- 2.43.2