1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
|
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,
)
|