diff --git a/src/main/java/com/crowdin/cli/commands/actions/GenerateAction.java b/src/main/java/com/crowdin/cli/commands/actions/GenerateAction.java index 148cf4ed3..700ad1fdb 100644 --- a/src/main/java/com/crowdin/cli/commands/actions/GenerateAction.java +++ b/src/main/java/com/crowdin/cli/commands/actions/GenerateAction.java @@ -154,7 +154,7 @@ private void updateWithUserInputs(Outputter out, Asking asking, List fil for (Map.Entry entry : values.entrySet()) { for (int i = 0; i < fileLines.size(); i++) { if (fileLines.get(i).contains(entry.getKey())) { - fileLines.set(i, fileLines.get(i).replaceFirst(": \"*\"", String.format(": \"%s\"", entry.getValue()))); + fileLines.set(i, fileLines.get(i).replaceFirst(": \"*\"", String.format(": \"%s\"", Utils.regexPath(entry.getValue())))); break; } }