public CruiseConfig deserializeConfig(String content) throws Exception {
        String md5 = md5Hex(content);
        Element element = parseInputStream(new ByteArrayInputStream(content.getBytes()));
        LOGGER.debug("[Config Save] Updating config cache with new XML");

        CruiseConfig configForEdit = classParser(element, BasicCruiseConfig.class, configCache, new GoCipher(), registry, new ConfigReferenceElements()).parse();
        setMd5(configForEdit, md5);
        configForEdit.setOrigins(new FileConfigOrigin());
        return configForEdit;
    }
@Test
    void shouldSupportCommandWithWhiteSpace() throws Exception {
        String jobWithCommand =
                """
                        <job name="functional">
                              <tasks>
                                <exec command="c:\\program files\\cmd.exe" args="arguments" />
                              </tasks>
                            </job>
                        """;
        String configWithCommand = withCommand(jobWithCommand);
        CruiseConfig cruiseConfig = xmlLoader.deserializeConfig(configWithCommand);
        Task task = cruiseConfig.pipelineConfigByName(new CaseInsensitiveString("pipeline1")).first().allBuildPlans().first().tasks().first();

        assertThat(task).isInstanceOf(ExecTask.class);
        assertThat(task).isEqualTo(new ExecTask("c:\\program files\\cmd.exe", "arguments", (String) null));
    }