[Phpmyadmin-devel] Re: Patch

Marc Delisle DelislMa at CollegeSherbrooke.qc.ca
Mon Feb 14 10:47:25 CET 2005


Marc Delisle a écrit :
> Armel FAUVEAU a écrit :
> 
>> Hi Marc,
>>
>>
>>> good to have news from you again.
>>
>>
>>
>> Thank you :)
>>
>>
>>> About those patches, I made a little research and found
>>> http://www.pageresource.com/jscript/jprompt.htm
>>> which explains why you want us to escape the forward slashes
>>> with backslashes.
>>
>>
>>
>> Yeah, it's very simple :) For example,  
>> BAD : document.write('</h1>');
>> GOOD : document.write('<\/h1>');
>>
>>
>>> However, looking at the generated HTML source from
>>> phpMyAdmin, I don't see the problem that it's supposed to fix.
>>> [snip]
>>> Or am I missing something? Would this problem occur on older browsers?
>>
>>
>>
>> It's just more W3C compliant.
>>
>> Regards,
>>
>> Armel.
>>
> 
> Armel,
> to which W3C standard are you referring to? DOM?
> I did not know that W3C is in the business of setting JavaScript standards.
> 
> Marc

Ok I found this:
http://www.w3.org/TR/REC-html40/interact/scripts.html

Marc




More information about the Developers mailing list