diff --git a/hacking/templates/rst.j2 b/hacking/templates/rst.j2
index d348739a18..5d292aaa50 100644
--- a/hacking/templates/rst.j2
+++ b/hacking/templates/rst.j2
@@ -79,7 +79,7 @@ Options
{% else %}
{% for choice in v.get('choices',[]) -%}- @{ choice }@
{% endfor -%} |
{% endif %}
- {% for desc in v.description -%} @{ desc | html_ify }@ {% endfor -%} {% if 'aliases' in v and v.aliases -%}
+ | {% for desc in v.description -%} @{ desc | replace('\n', '\n ') | html_ify }@ {% endfor -%} {% if 'aliases' in v and v.aliases -%}
aliases: @{ v.aliases|join(', ') }@ {%- endif %} |
{% endfor %}