diff --git a/Source/Modules/LMMgr_PhraseEditorDelegate.swift b/Source/Modules/LMMgr_PhraseEditorDelegate.swift index 997b0003..61bc596f 100644 --- a/Source/Modules/LMMgr_PhraseEditorDelegate.swift +++ b/Source/Modules/LMMgr_PhraseEditorDelegate.swift @@ -97,7 +97,8 @@ extension LMMgr: PhraseEditorDelegate { guard arr.count >= 2 else { continue } let exists = Self.checkIfUserPhraseExist( userPhrase: arr[0].description, mode: mode, - keyArray: arr[1].map(\.description), factoryDictionaryOnly: true + keyArray: arr[1].split(separator: "-").map(\.description), + factoryDictionaryOnly: true ) outputStack.append(currentLine.description) let replace = !currentLine.contains(" #π™ΎπšŸπšŽπš›πš›πš’πšπšŽ") && exists