Commit 619e4f17 authored by Thomas Goirand's avatar Thomas Goirand

Added fix-html5lib.serialize-call.patch.

parent 89b0b2f3
......@@ -5,6 +5,7 @@ python-django-compressor (2.2-1) unstable; urgency=medium
* Removed build-depends on jingo: it's not used upstream anymore, and the
Python module is deprecated upstream.
* Removed build-depends on coffin.
* Added fix-html5lib.serialize-call.patch.
-- Thomas Goirand <zigo@debian.org> Sat, 28 Oct 2017 20:24:56 +0000
......
Description: Fix html5lib.serialize() call
Author: Thomas Goirand <zigo@debian.org>
Forwarded: no
Last-Update: 2017-10-28
--- python-django-compressor-2.2.orig/compressor/parser/html5lib.py
+++ python-django-compressor-2.2/compressor/parser/html5lib.py
@@ -16,7 +16,7 @@ class Html5LibParser(ParserBase):
def _serialize(self, elem):
return self.html5lib.serialize(
- elem, tree="etree", quote_attr_values=True,
+ elem, tree="etree", quote_attr_values='legacy',
omit_optional_tags=False, use_trailing_solidus=True,
)
fix-html5lib.serialize-call.patch
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment