Skip to content

Preserve whitespaces of provided content and template #586

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

Merged
merged 1 commit into from
Jan 7, 2022

Conversation

khos2ow
Copy link
Member

@khos2ow khos2ow commented Jan 7, 2022

Description of your changes

If content or output.template is provided, treat them as is and don't attempt to trim whitespaces from them.

Fixes #583

I have:

How has this code been tested

Added new TestNormalize test cases.

Signed-off-by: Khosrow Moossavi <khos2ow@gmail.com>
@khos2ow khos2ow force-pushed the preserve-content-spaces branch from a616219 to 5727f8b Compare January 7, 2022 23:14
@khos2ow khos2ow merged commit 05d432e into terraform-docs:master Jan 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Whitespaces are being removed from parameter content
1 participant