fix: missing description added in asciidoc files

pull/42/head
Alexandre Dulaunoy 2017-10-23 20:41:08 +02:00
parent 9410aa99a5
commit bbf3e45649
No known key found for this signature in database
GPG Key ID: 09E2CD4944E6CBCD
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ def asciidoc(content=False, adoc=None, t='title',title=''):
disableCorrelation = 'icon:check[] ' disableCorrelation = 'icon:check[] '
if 'description' in content['attributes'][v]: if 'description' in content['attributes'][v]:
if content['attributes'][v]['description']: if content['attributes'][v]['description']:
values = '' description = '{}'.format(content['attributes'][v]['description'])
if 'values_list' in content['attributes'][v]: if 'values_list' in content['attributes'][v]:
values = content['attributes'][v]['values_list'] values = content['attributes'][v]['values_list']
description = '{} {}'.format(content['attributes'][v]['description'],values) description = '{} {}'.format(content['attributes'][v]['description'],values)