Subject: | HTML Tidy shows warnings (with patch) |
I'm using FireFox 2 with the HTML Tidy plugin.
But it shows always two warnings.
I have a workaround to get HTML Tidy plugin silent by the following
patch:
--- Ajax-orig.pm Wed Oct 24 11:14:39 2007
+++ Ajax.pm Wed Oct 24 11:16:17 2007
@@ -981,9 +981,9 @@
var tmp = document.getElementById('pjxdebugrequest').innerHTML
= "<br><pre>";
for( var i=0; i < ajax.length; i++ ) {
tmp += '<a href= '+ ajax[i].url +' target=_blank>' +
- decodeURI(ajax[i].url) + ' </a><br>';
+ decodeURI(ajax[i].url) + ' <' + '/a><br>';
}
- document.getElementById('pjxdebugrequest').innerHTML = tmp
+ "</pre>";
+ document.getElementById('pjxdebugrequest').innerHTML = tmp + "<"
+ "/pre>";
}
Is it possible to add this to the CPAN module so all others also can
use HTML Tidy much better?
Thanks,
Stefan