equal
deleted
inserted
replaced
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): |