Mercurial > libervia-desktop-kivy
changeset 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 | 318a46e78ff6 |
children | efd3fbc85aaf |
files | cagou/core/simple_xhtml.py setup.py |
diffstat | 2 files changed, 3 insertions(+), 7 deletions(-) [+] |
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))