# HG changeset patch # User Goffi # Date 1561717816 -7200 # Node ID 86b1cd8121ddcd1370eb22076c9a98acacb55894 # Parent 318a46e78ff66b3422450d3f1108e4944dcb9876 core (simple_xhtml): activated underline and line-through which are now available diff -r 318a46e78ff6 -r 86b1cd8121dd cagou/core/simple_xhtml.py --- a/cagou/core/simple_xhtml.py Fri Jun 28 12:25:36 2019 +0200 +++ b/cagou/core/simple_xhtml.py Fri Jun 28 12:30:16 2019 +0200 @@ -495,12 +495,8 @@ def css_text_decoration(self, elem, value): if value == u'underline': - log.warning(u"{} not handled yet, it needs Kivy 1.9.2 to be released".format(value)) - # FIXME: activate when 1.9.2 is out - # self._addStyle('u') + self._addStyle('u') elif value == u'line-through': - log.warning(u"{} not handled yet, it needs Kivy 1.9.2 to be released".format(value)) - # FIXME: activate when 1.9.2 is out - # self._addStyle('s') + self._addStyle('s') else: log.warning(u"unhandled text decoration: {}".format(value)) diff -r 318a46e78ff6 -r 86b1cd8121dd setup.py --- a/setup.py Fri Jun 28 12:25:36 2019 +0200 +++ b/setup.py Fri Jun 28 12:30:16 2019 +0200 @@ -25,7 +25,7 @@ NAME = 'cagou' install_requires = [ - 'kivy', + 'kivy>=1.10.0', 'pillow', 'plyer', 'sat>=0.7.0b1.post1',