From: Florian Gilcher Date: 2008-03-28T17:03:30+09:00 Subject: Re: [PATCH] New ERb mode -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Mar 26, 2008, at 2:45 PM, Marc Haisenko wrote: > On Wednesday 26 March 2008, Phlip wrote: >> Marc Haisenko wrote: >> >>>> Could a more aggressive patch read the , then apply >>>> its XML >>>> DTD to remove all non-significant blanks? I suspect that would >>>> save wear >>>> and tear on servers. If the HTML DTDs actually specify which >>>> blanks are >>>> significant! >>> >>> Sorry, but ERb doesn't do any XML processing, it's a simple >>> templating >>> system. >> >> That's why I said "patch". > I have the impression that this goes beyond the scope of a templating system. It also could get messy if you your template has no doctype (Partials, for example). Why not use tidy for such a task? Greetings Florian Gilcher -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (Darwin) iEYEARECAAYFAkfspjEACgkQJA/zY0IIRZZ6KACggTd2UW9iZa/d4S/GEFHNMqJH RyIAoIvq/zX7iPhUSr76Zw/WlQfOBb52 =/wJQ -----END PGP SIGNATURE-----