critique of vibe.d

Sönke Ludwig via Digitalmars-d digitalmars-d at puremagic.com
Wed Jul 9 18:04:40 PDT 2014


Am 10.07.2014 02:58, schrieb Sönke Ludwig:
> Am 10.07.2014 02:30, schrieb luminousone:
>> he links are clicked they simply don't do anything,
>> the load function is not called. And it doesn't seem to throw any
>> errors in chromes devel
>
> I'll test with Chrome. But the spec is the same in that regard for HTML 4:
> http://www.w3.org/TR/html4/intro/sgmltut.html#h-3.2.2
>
> It even explicitly mentions escaping of " and '

All of these work for the latest Chrome (as well as for Opera, Firefox 
and IE11):

<html><body>
<a href="#" onClick="alert('Hello, World!')">Using &#39;</a><br>
<a href="#" onClick="alert("Hello, World!")">Using 
&quot;</a><br>
<a href="#" onClick="alert('Hello, World!')">Using '</a><br>
<a href="#" onClick='alert("Hello, World!")'>Using "</a><br>
</body></html>


More information about the Digitalmars-d mailing list