mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-04 12:30:11 +03:00
unnecessary strip() breaks markdown formatting
This commit is contained in:
parent
7e3ba8b3ed
commit
7b8ca1e912
|
@ -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 = {'': ''}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user