nixos/fcitx5: update quick phrase format (#538851)

This commit is contained in:
Nick Cao
2026-07-06 19:11:23 +00:00
committed by GitHub
+2 -1
View File
@@ -109,7 +109,8 @@ in
(pkgs.writeTextDir "share/fcitx5/data/QuickPhrase.mb" (
lib.concatStringsSep "\n" (
lib.mapAttrsToList (
name: value: "${name} ${builtins.replaceStrings [ "\\" "\n" ] [ "\\\\" "\\n" ] value}"
name: value:
"${name} \"${builtins.replaceStrings [ "\\" "\n" "\"" ] [ "\\\\" "\\n" "\\\"" ] value}\""
) cfg.quickPhrase
)
))