Skip Menu |
 
rt.cpan.org will be shut down on March 1st, 2021.

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)
Download (untitled) / with headers
text/plain 827b
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
Download (untitled) / with headers
text/plain 137b
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.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.