[html] Add tags ol, ul, li, i, q
authorNicola Spanti <nicola.spanti@logilab.fr>
Fri, 22 Feb 2019 16:47:40 +0100
changeset 12786 8a1b7aaf8309
parent 12785 a9025212ce0c
child 12787 be63e0fd43d0
[html] Add tags ol, ul, li, i, q - It is useful. - A private client's project use this.
cubicweb/tags.py
--- a/cubicweb/tags.py	Thu Nov 28 16:33:15 2019 +0100
+++ b/cubicweb/tags.py	Fri Feb 22 16:47:40 2019 +0100
@@ -47,6 +47,11 @@
 tr = tag('tr')
 th = tag('th')
 td = tag('td')
+ul = tag('ul', escapecontent=False)
+ol = tag('ol', escapecontent=False)
+li = tag('li')
+i = tag('i')
+q = tag('q')
 iframe = tag('iframe')
 
 def select(name, id=None, multiple=False, options=[], **attrs):