unnecessary strip() breaks markdown formatting

This commit is contained in:
Matteo Nastasi 2017-08-31 10:28:37 +02:00
parent 7e3ba8b3ed
commit 7b8ca1e912

View File

@ -476,7 +476,7 @@ class SchemaGenerator(object):
return formatting.dedent(smart_text(method_docstring)) return formatting.dedent(smart_text(method_docstring))
description = view.get_view_description() description = view.get_view_description()
lines = [line.strip() for line in description.splitlines()] lines = [line for line in description.splitlines()]
current_section = '' current_section = ''
sections = {'': ''} sections = {'': ''}