Commits

Mark Finger committed 69a9264

Fix for missing context in the preview view.

  • Participants
  • Parent commits 117f45d
  • Branches multiconfig

Comments (0)

Files changed (1)

File markitup/views.py

     markup = settings.get_filter_function(config_key, preview=True)(
         request.POST.get('data', ''))
     context = RequestContext(request)
-    return render_to_response('markitup/preview.html', {'preview': markup})
+    context['preview'] = markup
+    return render_to_response('markitup/preview.html', context)