• @[email protected]
    link
    fedilink
    0
    edit-2
    21 hours ago

    Is this valid HTML? My understanding is that that attribute value needs to be escaped, i.e. <value of \"myattribute\">.

    • @[email protected]
      link
      fedilink
      416 hours ago

      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>"'>