Commits

Luke Plant committed f0989c6

Enabled pretty printing in view code -- forgotten in <<changeset fdc11032aa6e>>

Comments (0)

Files changed (1)

semanticeditor/views.py

     presentation = simplejson.loads(presentation)
     _convert_pres(presentation)
 
-    return graceful_errors(AllUserErrors, lambda: dict(html=format_html(html, presentation)))
+    return graceful_errors(AllUserErrors, lambda: dict(html=format_html(html, presentation, pretty_print=True)))
 
 @json_view
 def preview(request):