From ebcd401830c8088d581c91e28f83b134d075ad18 Mon Sep 17 00:00:00 2001 From: hernani Date: Sat, 1 Jan 2011 18:36:59 +0000 Subject: [PATCH] Fixes comment edit, which was being performed against already parsed markdown. git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@659 0cfe37f9-358a-4d5e-be75-b63607b5c754 --- forum/views/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/forum/views/commands.py b/forum/views/commands.py index fcdd056..191cae0 100644 --- a/forum/views/commands.py +++ b/forum/views/commands.py @@ -284,7 +284,7 @@ def node_markdown(request, id): raise AnonymousNotAllowedException(_('accept answers')) node = get_object_or_404(Node, id=id) - return HttpResponse(node.body, mimetype="text/plain") + return HttpResponse(node.active_revision.body, mimetype="text/plain") @decorate.withfn(command) -- 2.39.5