From f7570c461a9869531438f72b52cef9f77279ed83 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fr=C3=A9d=C3=A9ric=20Demians?= Date: Sun, 11 Jul 2010 17:53:21 +0200 Subject: [PATCH] Bug 4472 Fix how   are injected into XSL files tmpl_process is patched to handle properly specific XML directives. UNIMARC XSL files are modified to gain knowledge of HTML   entity which isn't the case by default. It may be necessary to do the same thing for MARC21 XSL. Signed-off-by: Galen Charlton --- koha-tmpl/opac-tmpl/prog/en/xslt/UNIMARCslim2OPACDetail.xsl | 3 +++ koha-tmpl/opac-tmpl/prog/en/xslt/UNIMARCslim2OPACResults.xsl | 4 +++- koha-tmpl/opac-tmpl/prog/en/xslt/UNIMARCslimUtils.xsl | 5 ++++- misc/translator/tmpl_process3.pl | 2 ++ 4 files changed, 12 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/opac-tmpl/prog/en/xslt/UNIMARCslim2OPACDetail.xsl b/koha-tmpl/opac-tmpl/prog/en/xslt/UNIMARCslim2OPACDetail.xsl index 26aed3756d..69e5cf67cf 100644 --- a/koha-tmpl/opac-tmpl/prog/en/xslt/UNIMARCslim2OPACDetail.xsl +++ b/koha-tmpl/opac-tmpl/prog/en/xslt/UNIMARCslim2OPACDetail.xsl @@ -1,4 +1,7 @@ + +]> + - + +]> + + +]> + @@ -296,4 +299,4 @@ - \ No newline at end of file + diff --git a/misc/translator/tmpl_process3.pl b/misc/translator/tmpl_process3.pl index af0cde18d5..b916cab649 100755 --- a/misc/translator/tmpl_process3.pl +++ b/misc/translator/tmpl_process3.pl @@ -116,6 +116,8 @@ sub text_replace (**) { } } } elsif (defined $t) { + # Quick fix to bug 4472 + $t = "