]> git.evergreen-ils.org Git - working/Evergreen.git/commit
Replace self-closing divs with open/close divs
authorBill Erickson <berick@esilibrary.com>
Tue, 27 Sep 2011 14:51:29 +0000 (10:51 -0400)
committerDan Scott <dscott@laurentian.ca>
Thu, 13 Oct 2011 13:39:56 +0000 (09:39 -0400)
commite9c35ab32aba749f56eef02d0794d6f86633c952
tree75cb90e50f2e52f68b47d69b28c4691ae7cbefe8
parentad99eb3eb6109e8250d068c23ed5238b968109b3
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>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
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