diff options
author | Richard Darst <rkd@zgib.net> | 2009-07-30 19:14:03 (GMT) |
---|---|---|
committer | Richard Darst <rkd@zgib.net> | 2009-07-30 19:14:03 (GMT) |
commit | ae57372fe7e8e922532934b848de123e6026ffe4 (patch) | |
tree | e80f5b0475ebe3374ba3d32e9e10fc5f3df009b9 /writers.py | |
parent | fa1782d75e946e2d8b027f8174dad529d3ef5751 (diff) |
Minor changes in writers
darcs-hash:20090730191403-82ea9-130d777301c6c3296b37499624d298fbf8df268e.gz
Diffstat (limited to 'writers.py')
-rw-r--r-- | writers.py | 12 |
1 files changed, 9 insertions, 3 deletions
@@ -46,8 +46,11 @@ def html(text): return text.replace("&", "&").replace("<", "<").replace(">", ">") rstReplaceRE = re.compile('_( |-|$)') def rst(text): - """Escapes bad sequences in reST (not implemented yet)""" + """Escapes bad sequences in reST""" return rstReplaceRE.sub(r'\_\1', text) +def text(text): + """Escapes bad sequences in text (not implemented yet)""" + return text # wraping functions (for RST) class TextWrapper(textwrap.TextWrapper): @@ -170,7 +173,9 @@ class HTML(_BaseWriter): <h1>%(pageTitle)s</h1> Meeting started by %(owner)s at %(starttime)s %(timeZone)s. (<a href="%(fullLogs)s">full logs</a>)<br> - \n\n<table border=1> + + + <table border=1> %(MeetingItems)s </table> Meeting ended at %(endtime)s %(timeZone)s. @@ -183,7 +188,8 @@ class HTML(_BaseWriter): </ol> <br> - <b>Action Items, by person</b>\n<ol> + <b>Action Items, by person</b> + <ol> %(ActionItemsPerson)s </ol><br> |