diff --git a/funnel/assets/js/membership.js b/funnel/assets/js/membership.js index 7ffa5b65d..fe1f75974 100644 --- a/funnel/assets/js/membership.js +++ b/funnel/assets/js/membership.js @@ -72,7 +72,9 @@ const Membership = { const data = await response.json(); if (data) { const vueFormHtml = data.form; - this.memberForm = vueFormHtml.replace(/\bscript\b/g, 'script2'); + this.memberForm = vueFormHtml.replace(/<\/?\bscript/gi, (tag) => + tag === '