cubicweb/tags.py
changeset 11767 432f87a63057
parent 11057 0b59724cb3f2
child 12786 8a1b7aaf8309
equal deleted inserted replaced
11766:d8de1ac21f36 11767:432f87a63057
    15 #
    15 #
    16 # You should have received a copy of the GNU Lesser General Public License along
    16 # You should have received a copy of the GNU Lesser General Public License along
    17 # with CubicWeb.  If not, see <http://www.gnu.org/licenses/>.
    17 # with CubicWeb.  If not, see <http://www.gnu.org/licenses/>.
    18 """helper classes to generate simple (X)HTML tags"""
    18 """helper classes to generate simple (X)HTML tags"""
    19 
    19 
    20 __docformat__ = "restructuredtext en"
    20 
    21 
    21 
    22 from cubicweb.uilib import simple_sgml_tag, sgml_attributes
    22 from cubicweb.uilib import simple_sgml_tag, sgml_attributes
    23 
    23 
    24 class tag(object):
    24 class tag(object):
    25     def __init__(self, name, escapecontent=True):
    25     def __init__(self, name, escapecontent=True):