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;