diff --git a/ang/api4Explorer/Explorer.js b/ang/api4Explorer/Explorer.js index 46f5fabd0a5376cf41d392561ddead7b2b8c75dc..c82ca1094759706d463e4930c74cd990cd3d0df7 100644 --- a/ang/api4Explorer/Explorer.js +++ b/ang/api4Explorer/Explorer.js @@ -1065,6 +1065,7 @@ // Format string to be cli-input-safe function cliFormat(str) { + str = str.replace(/\b(true|false)\b/g, match => match === "true" ? '1' : '0'); if (!_.includes(str, ' ') && !_.includes(str, '"') && !_.includes(str, "'")) { return str; }