[safehtml] Fix https://core.spip.net/issues/4706 : les attributs (...)

Cerdic <[email protected]> Wed, 12 May 2021 11:35:01 +0200
Newsgroups gmane.comp.web.spip.cvs
Message-ID <aYbKqgeHa8DtP5Ucnc8LfXpHvx8wwxZ5ixlI6FY30T4@localhost.localdomain>
spip/safehtml
-
Par Cerdic, le 12 mai 2021 à 11h34min : 

Fix https://core.spip.net/issues/4706 : les attributs HTML5 data-xx ne doivent pas etre supprimes par safehtml, on accepte le - dans la regexp sur ceux ci


*Modifié*
    lib/safehtml/classes/safehtml.php
    paquet.xml
    tests/safehtml.php

Détails : https://git.spip.net/spip/safehtml/commit/ad3f445ec89181bafd31ed82726810b17f77bd91