From: Jason Boyer Date: Mon, 13 Feb 2017 21:59:01 +0000 (-0500) Subject: LP1371772: Correct Escape of Library Info URL X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=c8447472bfaba306772d7d08042ba8efd943b152;p=working%2FEvergreen.git 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 --- 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; -%]