Update transformZimit.js

Former-commit-id: 4125df649d2afc6f713aad1c637f7f6eb18c49ef [formerly 228ae4bb3186c3f98f73cf34acbf38929c365b36 [formerly 7ec5fd8ea5f8b711558494881d99a48ca07a98a9]]
Former-commit-id: 350b4739799425c27d19e73ef10f471d4f6d4c04 [formerly a2538d8e6314c249ce0ce73447b81937ead1e08a]
Former-commit-id: d54242fefad103a12b4e5176fe87fbfd1991a72b
This commit is contained in:
Jaifroid 2022-06-01 06:02:22 +01:00
parent a7f453c1b7
commit 88ea328cc9

View File

@ -135,6 +135,8 @@ define([], function () {
// Remove any <base href...> statements
// DEV: You should probably deal with this more intelligently, changing absolute links rather than just removing
// but so far, removing it seems to do the job
data = data.replace(/<base\b[^>]+href\b[^>]+>\s*/i, '');
// Remove any residual analytics