@[email protected] to Programmer [email protected] • 1 day agoThe best answer on StackOverflow: Using RegEx to parse HTMLstackoverflow.comexternal-linkmessage-square36fedilinkarrow-up1279arrow-down111
arrow-up1268arrow-down1external-linkThe best answer on StackOverflow: Using RegEx to parse HTMLstackoverflow.com@[email protected] to Programmer [email protected] • 1 day agomessage-square36fedilink
minus-square@[email protected]linkfedilink0•edit-219 hours agoIs this valid HTML? My understanding is that that attribute value needs to be escaped, i.e. <value of \"myattribute\">.
minus-square@moriquendelink4•14 hours agoThe quote must not be escaped when you start with a single quote. The rest doesn’t. This is valid and tested: <img alt='my "<img>"'>
Is this valid HTML? My understanding is that that attribute value needs to be escaped, i.e.
<value of \"myattribute\">
.The quote must not be escaped when you start with a single quote. The rest doesn’t. This is valid and tested:
<img alt='my "<img>"'>