summaryrefslogtreecommitdiff
path: root/packages/backend/src
diff options
context:
space:
mode:
authorHazelnoot <acomputerdog@gmail.com>2025-02-07 13:53:02 -0500
committerHazelnoot <acomputerdog@gmail.com>2025-02-07 13:53:02 -0500
commit170c0f111ec129cc37ccbf339ac479bf4a77f236 (patch)
tree21278d6ea0491739376e4a8dbe146ceba17d89ab /packages/backend/src
parentprint an error when booting with both MK_ONLY_SERVER and MK_ONLY_QUEUE set (diff)
parentpick lints (diff)
downloadsharkey-170c0f111ec129cc37ccbf339ac479bf4a77f236.tar.gz
sharkey-170c0f111ec129cc37ccbf339ac479bf4a77f236.tar.bz2
sharkey-170c0f111ec129cc37ccbf339ac479bf4a77f236.zip
Merge remote-tracking branch 'fEmber/merge/2024-02-03' into merge/2024-02-03
Diffstat (limited to 'packages/backend/src')
-rw-r--r--packages/backend/src/core/MfmService.ts2
1 files changed, 1 insertions, 1 deletions
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);