Replace self-closing divs with open/close divs
authorBill Erickson <berick@esilibrary.com>
Tue, 27 Sep 2011 14:51:29 +0000 (10:51 -0400)
committerBill Erickson <berick@esilibrary.com>
Tue, 27 Sep 2011 15:44:12 +0000 (11:44 -0400)
commit944d00fde3cdd9ec875ae9e3f47eaeec5acf0f16
tree025d5e65e7caf89fe49eba75de290232ec14e327
parent250ec72283a24e4aec4f672f4bbc51dfa2b7e211
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 (<div/>) 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 <berick@esilibrary.com>
Open-ILS/src/templates/conify/global/config/hold_matrix_matchpoint.tt2
Open-ILS/src/templates/vandelay/inc/attrs.tt2
Open-ILS/src/templates/vandelay/inc/queue.tt2