mirror of
https://codeberg.org/yeentown/barkey.git
synced 2025-04-28 17:46:56 +00:00
Merge remote-tracking branch 'fEmber/merge/2024-02-03' into merge/2024-02-03
This commit is contained in:
commit
170c0f111e
1 changed files with 1 additions and 1 deletions
|
@ -315,7 +315,7 @@ export class MfmService {
|
||||||
// is when both sides of the ruby are simple words
|
// is when both sides of the ruby are simple words
|
||||||
const needsGroup = nonRtNodes.length > 1 ||
|
const needsGroup = nonRtNodes.length > 1 ||
|
||||||
/\s|\[|\]/.test(getText(nonRtNodes[0])) ||
|
/\s|\[|\]/.test(getText(nonRtNodes[0])) ||
|
||||||
/\s|\[|\]/.test(getText(child)) ;
|
/\s|\[|\]/.test(getText(child));
|
||||||
text += '$[ruby ';
|
text += '$[ruby ';
|
||||||
if (needsGroup) text += '$[group ';
|
if (needsGroup) text += '$[group ';
|
||||||
appendChildren(nonRtNodes);
|
appendChildren(nonRtNodes);
|
||||||
|
|
Loading…
Add table
Reference in a new issue