Tweak to function docstring

This commit is contained in:
2018-03-19 02:03:08 +01:00
parent e6edd00e46
commit fb2852acdc

View File

@@ -481,7 +481,7 @@ def edit(node_id):
@blueprint.route('/preview-markdown', methods=['POST']) @blueprint.route('/preview-markdown', methods=['POST'])
@login_required @login_required
def preview_markdown(): def preview_markdown():
"""Return the 'content' field of POST request as Markdown. """Return the 'content' field of POST request as HTML.
This endpoint can be called via AJAX in order to preview the This endpoint can be called via AJAX in order to preview the
content of a node. content of a node.