[open-ils-commits] [GIT] Evergreen ILS branch rel_2_9 updated. ba80a25631575789e745d09614f56c9e44c25239
Evergreen Git
git at git.evergreen-ils.org
Tue Sep 20 11:06:29 EDT 2016
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".
The branch, rel_2_9 has been updated
via ba80a25631575789e745d09614f56c9e44c25239 (commit)
from 9f67541e3f95f9bbad8dd370524e9047d1dcad4e (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit ba80a25631575789e745d09614f56c9e44c25239
Author: Dan Scott <dscott at laurentian.ca>
Date: Sun Sep 18 09:16:27 2016 -0400
LP#1624846 Add charset declaration to TPAC print output
Non-ASCII characters were printed incorrectly in some browsers, such as
Firefox, that still default to ISO-8859-1 encodings in the absence of a
specifically declared encoding.
Our output encoding will always be UTF-8, so declare it.
Signed-off-by: Dan Scott <dscott at laurentian.ca>
Signed-off-by: Mike Rylander <mrylander at gmail.com>
diff --git a/Open-ILS/src/templates/opac/myopac/receipt_print.tt2 b/Open-ILS/src/templates/opac/myopac/receipt_print.tt2
index fe68495..64237e2 100644
--- a/Open-ILS/src/templates/opac/myopac/receipt_print.tt2
+++ b/Open-ILS/src/templates/opac/myopac/receipt_print.tt2
@@ -1,6 +1,7 @@
[%# sic! no wrapper %]
<html>
<head>
+ <meta charset="utf-8">
<title>[% l('Receipt') %]</title>
</head>
<body onload="if (document.getElementById('printable-receipt')) window.print();">
diff --git a/Open-ILS/src/templates/opac/record/print.tt2 b/Open-ILS/src/templates/opac/record/print.tt2
index d5d94e6..24cb94e 100644
--- a/Open-ILS/src/templates/opac/record/print.tt2
+++ b/Open-ILS/src/templates/opac/record/print.tt2
@@ -1,6 +1,7 @@
[% PROCESS 'opac/parts/header.tt2' %]
<html>
<head>
+ <meta charset="utf-8">
<title>[% l('Print Record') %]</title>
<style type="text/css" media="print">.noprint {display: none}</style>
</head>
-----------------------------------------------------------------------
Summary of changes:
.../src/templates/opac/myopac/receipt_print.tt2 | 1 +
Open-ILS/src/templates/opac/record/print.tt2 | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list