- Issue created by @SadySierralta
- last update
almost 2 years ago 54 pass - @sadysierralta opened merge request.
- Status changed to Needs review
almost 2 years ago 10:06am 5 June 2023 - last update
over 1 year ago 54 pass
When Deferred JavaScript Execution: Add The defer Tag To All Script Tags is enabled and a library is defining a defer attribute for its js , e.g https://git.drupalcode.org/project/fontawesome/-/blob/8.x-2.x/fontawesom..., a second defer attribute is being added to the src tag.
This is making w3c validation to report a Duplicate attribute defer error.
Adjust pattern to not take into account those src tags that already have the defer attribute.
Regex testing: https://regex101.com/r/WrcrzQ/1
Needs review
6.0
Modifier