Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preserve whitespace in OZW XML cache #2586

Merged
merged 1 commit into from
Feb 15, 2021

Conversation

markruys
Copy link
Contributor

@markruys markruys commented Feb 13, 2021

The ozwcache_*.xml file does not preserve white space. Config XML might contain useable formatting, so don't condense white space into a single space.

E.g., a configuration XML might contain:

 <Help>This parameter allows to enable different additional functions of the device.
                1) Enable open window detector (normal)
                2) Enable open window detector (rapid)
                4) Increase receiver sensitivity (shortens battery life)
                8) Enable LED indications when controlling remotely</Help>

Currently this is stored in the OZW XML cache as:

 <Help>This parameter allows to enable different additional functions of the device. 1) Enable open window detector (normal) 2) Enable open window detector (rapid) 4) Increase receiver sensitivity (shortens battery life) 8) Enable LED indications when controlling remotely</Help>

This makes it quiet hard to read.

@nechry nechry merged commit e5568ff into OpenZWave:master Feb 15, 2021
@nechry
Copy link
Member

nechry commented Feb 15, 2021

thank @markruys

@markruys markruys deleted the feature/Preserve_XML_whitespace branch February 15, 2021 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants