Skip to content

Commit

Permalink
add back newline
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmelville-gds authored Jun 6, 2023
1 parent 0352eda commit 42f9b27
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cloudformation_docs/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def add_breaks(text):
|------------------|--------|-----------|-------------|
{% for parameter in parameters -%}
| {{ parameter }} | {{ parameters[parameter].Type }} | {% if parameters[parameter].Default %}{{ parameters[parameter].Default}}{% endif %} | {% if parameters[parameter].Description %}{{ add_breaks(parameters[parameter].Description) }}{% endif %} |
{%- endfor %}
{% endfor %}
{%- endblock %}
{% block resources %}
Expand All @@ -95,7 +95,7 @@ def add_breaks(text):
|------------------|--------|
{% for resource in resources -%}
| {{ resource }} | {{ resources[resource].Type }} |
{%- endfor %}
{% endfor %}
{%- endblock %}
{% block outputs %}
Expand All @@ -105,7 +105,7 @@ def add_breaks(text):
|------------------|---------------|
{% for output in outputs -%}
| {{ output }} | {% if outputs[output].Description %}{{ add_breaks(outputs[output].Description) }}{% endif %} |
{%- endfor %}
{% endfor %}
{%- endblock %}
"""

Expand Down

0 comments on commit 42f9b27

Please sign in to comment.