diff --git a/www/js/lib/transformZimit.js b/www/js/lib/transformZimit.js
index 99703246..98a391b2 100644
--- a/www/js/lib/transformZimit.js
+++ b/www/js/lib/transformZimit.js
@@ -142,7 +142,7 @@ define([], function () {
// Deal with directives
// if (/]+refresh\b/i.test(newBlock)) dirEntry.zimitRedirect = assetUrl.replace(/^\//, '');
newBlock = newBlock.replace(relAssetUrl, '@kiwixtransformed@' + assetUrl);
- console.debug('Transform: \n' + match + '\n -> ' + newBlock);
+ // console.debug('Transform: \n' + match + '\n -> ' + newBlock);
return newBlock;
});
@@ -179,10 +179,12 @@ define([], function () {
// ZIM-specific overrides
if (/(?:journals\.openedition\.org)/i.test(params.zimitPrefix)) {
+ // DEV: Checked still necessary as of 8-6-2022
// Neutralize all inline scripts, excluding math blocks or react templates, as they cause a loop on loading article
data = data.replace(regexpInlineScriptsNotMaths, function (p0, p1) {
return '';
});
+ // data = data.replace(/