diff cagou/core/simple_xhtml.py @ 299:86b1cd8121dd

core (simple_xhtml): activated underline and line-through which are now available
author Goffi <goffi@goffi.org>
date Fri, 28 Jun 2019 12:30:16 +0200
parents 44752e8031f8
children 772c170b47a9
line wrap: on
line diff
--- 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))