Fixed text updating for UTF-8 strings.
[redakcja.git] / apps / api / urls.py
index 8c10158..b36cbe3 100644 (file)
@@ -41,6 +41,10 @@ urlpatterns = patterns('',
         document_text_resource, {'emitter_format': 'rawxml'},
         name="doctext_view"),
 
         document_text_resource, {'emitter_format': 'rawxml'},
         name="doctext_view"),
 
+    url(urlpath(r'documents', DOC, 'html', REVISION, format=False),
+        document_text_resource, {'emitter_format': 'rawhtml'},
+        name="dochtml_view"),
+
     url(urlpath(r'documents', DOC, 'dc', REVISION),
         document_dc_resource,
         name="docdc_view_withformat"),
     url(urlpath(r'documents', DOC, 'dc', REVISION),
         document_dc_resource,
         name="docdc_view_withformat"),