From f1b70c0cd342b6769df2326ffc122add67ccd917 Mon Sep 17 00:00:00 2001 From: zuber Date: Wed, 30 Sep 2009 13:00:42 +0200 Subject: [PATCH] Nie wymagamy poprawnego DublinCore przy renderowaniu do HTML. --- apps/api/handlers/library_handlers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/api/handlers/library_handlers.py b/apps/api/handlers/library_handlers.py index 4d23478d..0385c0f4 100644 --- a/apps/api/handlers/library_handlers.py +++ b/apps/api/handlers/library_handlers.py @@ -227,7 +227,7 @@ class DocumentHTMLHandler(BaseHandler): return response.BadRequest().django_response({'reason': 'name-mismatch', 'message': 'Provided revision refers, to document "%s", but provided "%s"' % (document.id, docid) }) - return librarian.html.transform(document.data('xml'), is_file=False) + return librarian.html.transform(document.data('xml'), is_file=False, parse_dublincore=False) except (EntryNotFound, RevisionNotFound), e: return response.EntityNotFound().django_response({ 'exception': type(e), 'message': e.message}) -- 2.20.1