Include paragraph around view description in browable API

This commit is contained in:
Tom Christie 2015-01-14 13:19:56 +00:00
parent 12de43fc0c
commit 4d287c7aef

View File

@ -59,4 +59,5 @@ def markup_description(description):
description = apply_markdown(description)
else:
description = escape(description).replace('\n', '<br />')
description = '<p>' + description + '</p>'
return mark_safe(description)