diff --git a/src/platforms/web/server.js b/src/platforms/web/server.js index 6c8b09870..3e6fabe89 100644 --- a/src/platforms/web/server.js +++ b/src/platforms/web/server.js @@ -54,14 +54,14 @@ function truncateDescription(description) { } function insertToHead(fullHtml, htmlToInsert) { - return fullHtml.replace('', htmlToInsert); + return fullHtml.replace(/.*/s, htmlToInsert); } const defaultHead = '