From 48dad3c9384d9b5f4e7d5e052a067c532901f691 Mon Sep 17 00:00:00 2001 From: Holger Schurig Date: Thu, 1 Jul 2010 14:09:59 +0200 Subject: [PATCH] read_rst: strip trailing blanks --- plugins/read_rst.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 -- 2.39.2