Skip to content

Commit

Permalink
Merge pull request #147 from dimagi/ctsims/markdown_fix
Browse files Browse the repository at this point in the history
Fix markdown output
  • Loading branch information
czue committed Jun 11, 2020
2 parents 10109e9 + 3f371d1 commit be8a648
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commcare_export/writers.py
Expand Up @@ -233,7 +233,7 @@ def write_table(self, table, ):
else:
row_template = ' | '.join(['{}'] * len(table.headings))

if table.get('name'):
if table.name:
self.output_stream.write('\n# %s \n\n' % table.name)

self.output_stream.write('| %s |\n' % row_template.format(*table.headings))
Expand Down

0 comments on commit be8a648

Please sign in to comment.