diff --git a/rest_framework/schemas.py b/rest_framework/schemas.py index 773df6261..44da83063 100644 --- a/rest_framework/schemas.py +++ b/rest_framework/schemas.py @@ -414,7 +414,7 @@ class SchemaGenerator(object): current_section, seperator, lead = line.partition(':') sections[current_section] = lead.strip() else: - sections[current_section] += line + '\n' + sections[current_section] += '\n' + line header = getattr(view, 'action', method.lower()) if header in sections: