diff --git a/packages/backend/src/core/MfmService.ts b/packages/backend/src/core/MfmService.ts index 99adad3018..6c2f673217 100644 --- a/packages/backend/src/core/MfmService.ts +++ b/packages/backend/src/core/MfmService.ts @@ -315,7 +315,7 @@ export class MfmService { // is when both sides of the ruby are simple words const needsGroup = nonRtNodes.length > 1 || /\s|\[|\]/.test(getText(nonRtNodes[0])) || - /\s|\[|\]/.test(getText(child)) ; + /\s|\[|\]/.test(getText(child)); text += '$[ruby '; if (needsGroup) text += '$[group '; appendChildren(nonRtNodes);