Ticket #417 (closed defect: fixed)
Some changes to HtmlTidy
|Reported by:||Michael Hosse <michael.hosse@…>||Owned by:||gogo|
There are some disadvantages and bugs in this Plugin: 1. the call to tidy ist hard-coded. I changed this to use a global variable _tidy. This variable is sent to html-tidy-logic.php 2. html-tidy-logic.php is not able to find html-tidy-config.cfg in every case. I added $cwd to ensure it. 3. Splitting source into an array is now done with a regular expression. The old method had problems with empty lines. 4. <?php $jsMakeSrc; ?> does not work. There is a echo missing.
I applied a patch-file to this ticket. Maybe you can use it.