From e9255d45f88a506d7c9f9ea31bd917e4d92a41d4 Mon Sep 17 00:00:00 2001 From: dakkar Date: Tue, 6 Aug 2024 19:23:03 +0100 Subject: [PATCH] fix spacing (thanks linter) --- packages/backend/src/core/MfmService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/src/core/MfmService.ts b/packages/backend/src/core/MfmService.ts index 048910cb52..1b6951ca19 100644 --- a/packages/backend/src/core/MfmService.ts +++ b/packages/backend/src/core/MfmService.ts @@ -678,7 +678,7 @@ export class MfmService { let result = new XMLSerializer().serializeToString(body); if (inline) { - result = result.replace(/^

/,'').replace(/<\/p>$/,''); + result = result.replace(/^

/, '').replace(/<\/p>$/, ''); } return result;