mirror of
https://git.boykissers.com/pawkey/pawkey-sk.git
synced 2025-12-20 12:14:18 +00:00
pick lints
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user