diff --git a/build/spas.ts b/build/spas.ts index 2fef3dce16e1..bc0206a5c5f6 100644 --- a/build/spas.ts +++ b/build/spas.ts @@ -465,15 +465,15 @@ async function fetchLatestNews() { } function renderPage(url: string, context: any) { - const html = renderHTML(url, context); + let html = renderHTML(url, context); + html = html.replace( + ``, + `` + ); // Better safe than sorry. - html.replace( + html = html.replace( ``, `` ); - html.replace( - ``, - `` - ); return html; }