diff --git a/index.ts b/index.ts index 22098bc1d..d11756591 100644 --- a/index.ts +++ b/index.ts @@ -74,18 +74,20 @@ if (layoutFromBase64.startsWith("wiki:")) { $.ajax({ url: url, - dataType: 'xml', success: function (data) { - const layoutJson = data.querySelector('[id="bodyContent"]') - .querySelector('[class="mw-parser-output"]') - .children[0] - .firstChild.textContent; + // Hacky McHackFace has been working here. This probably break in the future + const startTrigger = "