Skip to content
This repository was archived by the owner on Nov 24, 2018. It is now read-only.
This repository was archived by the owner on Nov 24, 2018. It is now read-only.

Fix the parsing / printing of the “fix” and “check”, "Title" and "Desc" strings #9

@aaronlippold

Description

@aaronlippold

I would really like to fix the parsing / printing of the “fix” and “check” strings so that:

BAD: ( one long ugly but correctly escaped string )

“Using pgaudit PostgreSQL can be configured to audit various facets of PostgreSQL. See supplementary content APPENDIX-B for documentation on installing pgaudit.\n\nAll errors, denials and unsuccessful requests are logged if logging is enabled. See supplementary content APPENDIX-C for documentation on enabling logging.\n\nNote: The following instructions use the PGDATA”

GOOD: (respects \n\n and \n etc. and is wrapped at either 120 or 80 chars)

“Using pgaudit PostgreSQL can be configured to audit various facets of PostgreSQL. See supplementary content APPENDIX-B for
documentation on installing pgaudit.

All errors, denials and unsuccessful requests are logged if logging is enabled. See supplementary content APPENDIX-C for
documentation on enabling logging.

Note: The following instructions use the PGDATA”

To make the resulting inspec stubs more human readable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions