From 7953909f1cb965a1464f8ea8051899976ef4e450 Mon Sep 17 00:00:00 2001 From: Mononaut Date: Wed, 8 Mar 2023 01:36:50 -0600 Subject: [PATCH] clean up unfurler meta html template --- unfurler/src/index.ts | 45 ++++++++++++++++++++++--------------------- 1 file changed, 23 insertions(+), 22 deletions(-) diff --git a/unfurler/src/index.ts b/unfurler/src/index.ts index 0b423ff92..6922791c3 100644 --- a/unfurler/src/index.ts +++ b/unfurler/src/index.ts @@ -178,28 +178,29 @@ class Server { ogTitle = `${this.network ? capitalize(this.network) + ' ' : ''}${matchedRoute.networkMode !== 'mainnet' ? capitalize(matchedRoute.networkMode) + ' ' : ''}${matchedRoute.title}`; } - res.send(` - - - - - ${ogTitle} - - - - - - - - - - - - - - - - `); + res.send( +` + + + + ${ogTitle} + + + + + + + + + + + + + + + +` + ); } }