This patch follows up on the previous patch by adjusting
the normalization of URLs when the lib.prefer_external_url
library setting is set to true.
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
UNLESS lib_url && prefer_external_url;
lib_url = mkurl(opac_root _ '/library/' _ ctx.get_aou(copy_info.circ_lib).shortname, {}, 1);
END;
- IF lib_url; '<a property="offeredBy" typeof="Library" href="'; lib_url | url; '">'; END;
+ IF lib_url; '<a property="offeredBy" typeof="Library" href="'; lib_url | html; '">'; END;
'<span property="name">'; org_name | html; '</span>';
IF lib_url; '</a>'; END;
-%]