| changeset 22 | 83b28fc0d731 |
| parent 19 | 7cf81d58a968 |
| child 24 | 9e19b7ae3780 |
--- a/web/ldt/text/views.py Fri Nov 19 18:14:02 2010 +0100 +++ b/web/ldt/text/views.py Mon Dec 13 23:55:19 2010 +0100 @@ -154,8 +154,7 @@ except Annotation.DoesNotExist: raise Http404 - doc=create_empty_annotation() - return HttpResponse(lxml.etree.tostring(doc, pretty_print=True), mimetype="text/xml;charset=utf-8") + return HttpResponse("") ## Updates the content of an annotation