diff --git a/Overlord-Server/src/server/routes/plugin-routes.ts b/Overlord-Server/src/server/routes/plugin-routes.ts index 987ff64..2962127 100644 --- a/Overlord-Server/src/server/routes/plugin-routes.ts +++ b/Overlord-Server/src/server/routes/plugin-routes.ts @@ -1114,6 +1114,13 @@ export async function handlePluginRoutes( const bodyMatch = raw.match(/
]*>([\s\S]*?)<\/body>/i); pluginBody = bodyMatch ? bodyMatch[1] : raw; + pluginBody = pluginBody.replace(/` at the end of the page — you don't need to include it yourself. If your plugin HTML does include `