From: Matthew Smith <yo.checkit@gm...> - 2006-05-12 08:36:57
I spent a bit of time this afternoon running Fez with tidy turned off.
I added a new directive APP_NO_TIDY which can be defined to true in
the config file to turn it off.
The main changes were in class.foxml.php where the forms are processed
into XML, removing linefeeds and extra spaces from inside tags. I
also made more use of 'trim' in code that uses values extracted from
XML and when inserting into the Fez index.
It's not fully tested yet - I suspect that we'll need to check for XML
special characters like '&' and change them to & in a few places
and there might be a few utf-8 encoding issues but I think it will be
reasonable to have a next release that doesn't need Tidy.