html tags permits

2»

Comments

  • kyrd Member
    edited May 2021

    hello, FYI I've just noticed that also the attribute

    alt="alternate link"
    

    in the tag

    <a>
    

    is stripped away, as happened before with attribute id, even if I've succesfully added as exception in zp-core/admin-options.php?page=options&tab=general > Allowed tags

    e.g. the link with the alt attribute is correctly present in the admin page Content field, but the alt attribute it's not displayed in the .html page

  • acrylian Administrator, Developer
    edited May 2021

    That would make sense since alt is an attribute for <img> elements only and therefore invalid on <a> elements. https://developer.mozilla.org/de/docs/Web/HTML/Element/a

  • kyrd Member

    Ah, you're right! I must refresh my basic knowledge... ;-)

Sign In or Register to comment.