From: dbs Date: Fri, 9 Nov 2007 14:15:32 +0000 (+0000) Subject: Generate minimized tags for EMPTY elements if content-type = text/html X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=4f683482d50467b53f140fed8a42c16b1812f534;p=Evergreen.git Generate minimized tags for EMPTY elements if content-type = text/html git-svn-id: svn://svn.open-ils.org/ILS/trunk@8049 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/apachemods/mod_xmlent.c b/Open-ILS/src/apachemods/mod_xmlent.c index 07379c11e1..fc746905db 100644 --- a/Open-ILS/src/apachemods/mod_xmlent.c +++ b/Open-ILS/src/apachemods/mod_xmlent.c @@ -1,4 +1,6 @@ #include "httpd.h" +/* vim:noet:ts=4 + */ #include "http_config.h" #include "http_core.h" #include "http_protocol.h" @@ -40,11 +42,42 @@ typedef struct { int stripComments; /* should we strip comments on the way out? */ int stripPI; /* should we strip processing instructions on the way out? */ int stripDoctype; - int escapeScript; /* if true, we html-escape anything text inside a tag */ + int escapeScript; /* if true, we html-escape anything text inside a