From: Holger Schurig Date: Thu, 1 Jul 2010 12:09:59 +0000 (+0200) Subject: read_rst: strip trailing blanks X-Git-Url: https://oss.titaniummirror.com/gitweb?p=webber.git;a=commitdiff_plain;h=48dad3c9384d9b5f4e7d5e052a067c532901f691 read_rst: strip trailing blanks --- diff --git a/plugins/read_rst.py b/plugins/read_rst.py index a9968ac..cb80be8 100644 --- a/plugins/read_rst.py +++ b/plugins/read_rst.py @@ -13,10 +13,10 @@ def read(params): class WebHTMLTranslator(html4css1.HTMLTranslator): - doctype = "" + doctype = "" content_type = "" generator = "" - + def __init__(self, document): html4css1.HTMLTranslator.__init__(self, document) self.head_prefix = [] @@ -24,13 +24,13 @@ class WebHTMLTranslator(html4css1.HTMLTranslator): self.stylesheet = [] self.body_suffix = [] self.section_level = 1 - + def visit_system_message(self, node): pass def visit_document (self, node): pass - + def depart_document (self, node): pass