Author: fw
Date: 2005-10-20 09:03:27 +0000 (Thu, 20 Oct 2005)
New Revision: 2487
Modified:
lib/python/web_support.py
Log:
r637@deneb: fw | 2005-10-14 15:38:48 +0200
lib/python/web_support.py (EM):
New.
(CODE):
Accept multiple arguments.
Modified: lib/python/web_support.py
==================================================================---
lib/python/web_support.py 2005-10-20 09:03:14 UTC (rev 2486)
+++ lib/python/web_support.py 2005-10-20 09:03:27 UTC (rev 2487)
@@ -360,8 +360,10 @@
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):