[diff_branches] Handle empty values in RST tables
Change-Id: I05eea27a9db6f3277f2f871ab58ce32cb9da2a87
This commit is contained in:
parent
bc1b26e7a8
commit
00e4f6e3d5
@ -29,8 +29,16 @@ New, updated, and deprecated options in {{ release }} for {{ codename }}
|
||||
- New default value
|
||||
{% for cells in new_defaults %}
|
||||
* - ``{{ cells[0] }}``
|
||||
{% if cells[1] is equalto '' %}
|
||||
-
|
||||
{% else %}
|
||||
- ``{{ cells[1] }}``
|
||||
- ``{{ cells[2]|default(' ', true) }}``
|
||||
{% endif %}
|
||||
{% if cells[2] is equalto '' %}
|
||||
-
|
||||
{% else %}
|
||||
- ``{{ cells[2] }}``
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user