From e9c35ab32aba749f56eef02d0794d6f86633c952 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Tue, 27 Sep 2011 10:51:29 -0400 Subject: [PATCH] Replace self-closing divs with open/close divs XML != HTML Traditionally, Vandelay templates were parsed as XML on the server for DTD replacement. With the advent of locale::maketext for templates, Vandelay no longer needs to be parsed as XML. However, not parsing as XML leaves any self-closing divs (
) intact in the final source, which are treated as opening divs in text/html. This patch replaces self-closing divs with open/close pairs. https://bugs.launchpad.net/evergreen/+bug/860676 Signed-off-by: Bill Erickson Signed-off-by: Dan Scott --- .../src/templates/conify/global/config/hold_matrix_matchpoint.tt2 | 2 +- Open-ILS/src/templates/vandelay/inc/attrs.tt2 | 2 +- Open-ILS/src/templates/vandelay/inc/queue.tt2 | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Open-ILS/src/templates/conify/global/config/hold_matrix_matchpoint.tt2 b/Open-ILS/src/templates/conify/global/config/hold_matrix_matchpoint.tt2 index f1efcbc4ed..0823484852 100644 --- a/Open-ILS/src/templates/conify/global/config/hold_matrix_matchpoint.tt2 +++ b/Open-ILS/src/templates/conify/global/config/hold_matrix_matchpoint.tt2 @@ -17,7 +17,7 @@ showColumnPicker='true' columnPickerPrefix='"conify.config.hold_matrix_matchpoint"'> -
+