From 1ebea2e6914e5d2c4f07654bdbd489aa2c1ce165 Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Thu, 29 Nov 2018 01:57:27 +0100 Subject: Escape special characters inside value strings when converting configs to commands. --- src/config_tree.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config_tree.ml b/src/config_tree.ml index ef16ac9..28cfcdd 100644 --- a/src/config_tree.ml +++ b/src/config_tree.ml @@ -286,7 +286,7 @@ struct match child_names with | [] -> (* This is a leaf node *) - let values = data.values in + let values = List.map String.escaped data.values in let cmds = begin match values with -- cgit v1.2.3