X-Git-Url: http://dolda2000.com/gitweb/?a=blobdiff_plain;f=wrw%2Fsp%2Fxhtml.py;h=36b9d602f3e95e0cd497a3f923d969bc0194b042;hb=84a8cc4a9a8e91dfe0dcb245474af32d3a5dc613;hp=50c70b6e7e3260d5f70ee01549acc613ca246aec;hpb=d38b200493b3ed263dbf10581d6d204462ed68c4;p=wrw.git diff --git a/wrw/sp/xhtml.py b/wrw/sp/xhtml.py index 50c70b6..36b9d60 100644 --- a/wrw/sp/xhtml.py +++ b/wrw/sp/xhtml.py @@ -41,7 +41,7 @@ class htmlformatter(util.formatter): allowshort = set(["br", "hr", "img", "input", "meta", "link"]) def element(self, el, **extra): if el.name in self.allowshort: - super(htmlformatter, self).element(el, **extra) + super().element(el, **extra) else: self.longtag(el, **extra)