]> git.ardis.lu - envpass/commit
Make tag deletion more robust for future template changes
authorArdis Lu <ardisglu@gmail.com>
Wed, 23 Sep 2026 06:17:43 +0000 (23:17 -0700)
committerArdis Lu <ardisglu@gmail.com>
Wed, 23 Sep 2026 06:17:43 +0000 (23:17 -0700)
commit27a7dc910ff6294b8a6fbbae3a2d529a321e6a39
tree6666ad859447185c40ab0110c1868403bc6f538a
parent9d45cc3185475f28c6c66d375a0d1200be7a8bd5
Make tag deletion more robust for future template changes

The new regex will match all `<script>` or `<style>` tags in the file, regardless of attributes (e.g., SRI) or if there are multiple instances of the tag in the file.
test/getPrf.test.js
This page took 0.031392 seconds and 4 git commands to generate.