summaryrefslogtreecommitdiffstats
path: root/lib/python/web_support.py
diff options
context:
space:
mode:
authorFlorian Weimer <fw@deneb.enyo.de>2005-10-20 09:03:27 +0000
committerFlorian Weimer <fw@deneb.enyo.de>2005-10-20 09:03:27 +0000
commit29eeee3b4d2f189aa6349287671532d7193685d3 (patch)
tree9e8f51912cde1d2fa149d62bba60fbd3885e7655 /lib/python/web_support.py
parent5c417aa4f6e810ae9553595d3b2f18cbd4700192 (diff)
r637@deneb: fw | 2005-10-14 15:38:48 +0200
lib/python/web_support.py (EM): New. (CODE): Accept multiple arguments. git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@2487 e39458fd-73e7-0310-bf30-c45bca0a0e42
Diffstat (limited to 'lib/python/web_support.py')
-rw-r--r--lib/python/web_support.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/python/web_support.py b/lib/python/web_support.py
index cc61e826f8..1f3a09bec9 100644
--- a/lib/python/web_support.py
+++ b/lib/python/web_support.py
@@ -360,8 +360,10 @@ def HR():
return tag('hr', ())
def BR():
return tag('br', ())
-def CODE(contents):
+def CODE(*contents):
return tag('code', contents)
+def EM(*contents):
+ return tag('em', contents)
def B(contents):
return tag('b', contents)
def TABLE(contents):

© 2014-2024 Faster IT GmbH | imprint | privacy policy