Skip to content
This repository has been archived by the owner on Mar 26, 2024. It is now read-only.

Retain newline characters in the imported Fix Text and Check Text #15

Open
CernerAssociate-ThomasDeranek opened this issue Feb 11, 2021 · 0 comments

Comments

@CernerAssociate-ThomasDeranek

Currently, if multiple newlines occur in a control's check text, only one is retained. As an example, if the following check text is written for a control in a new STIG version:

...Here is some text:

# Here is the example

Here is more text...

The inspec_delta tool will remove the extra white space and the ruby code will resultingly contain the following check text:

...Here is some text:
# Here is the example
Here is more text...

This makes the check text and fix text difficult to read for the more intricate controls. We should enhance this tool to preserve the formatting white space from a STIG or SRG's source material.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant