Skip Menu |

This queue is for tickets about the CGI-Ajax CPAN distribution.

Report information
The Basics
Id: 30258
Status: rejected
Priority: 0/
Queue: CGI-Ajax

People
Owner: Nobody in particular
Requestors: twiki [...] sealsystems.de
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.701
Fixed in: (no value)



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
Hello Stefen, This is no bug, you need to escape the slashes (/) in htmltags with backslashes (\). So you would need to write: "<\/foo>"
CGI-Ajax is performing correctly - need to escape slashes.