diff -r bc623a3e44e9 -r 71a842bdf81d cubicweb/web/htmlwidgets.py --- a/cubicweb/web/htmlwidgets.py Tue Dec 17 21:21:55 2019 +0100 +++ b/cubicweb/web/htmlwidgets.py Thu Dec 19 08:13:22 2019 +0100 @@ -302,10 +302,9 @@ value = self._rows[rowindex][colindex] if value is None: return u'' - elif isinstance(value, int): + if isinstance(value, int): return u'%09d' % value - else: - return unicode(value) + return str(value) class TableWidget(HTMLWidget):