From fb2852acdc7babe0f45523807f05a68946d0c68a Mon Sep 17 00:00:00 2001 From: Francesco Siddi Date: Mon, 19 Mar 2018 02:03:08 +0100 Subject: [PATCH] Tweak to function docstring --- pillar/web/nodes/routes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pillar/web/nodes/routes.py b/pillar/web/nodes/routes.py index 1a99d4d7..d0116edc 100644 --- a/pillar/web/nodes/routes.py +++ b/pillar/web/nodes/routes.py @@ -481,7 +481,7 @@ def edit(node_id): @blueprint.route('/preview-markdown', methods=['POST']) @login_required 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 content of a node.