1
0

Merge remote-tracking branch 'fEmber/merge/2024-02-03' into merge/2024-02-03

This commit is contained in:
Hazelnoot
2025-02-07 13:53:02 -05:00
+1 -1
View File
@@ -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);