X-Git-Url: http://dolda2000.com/gitweb/?p=wrw.git;a=blobdiff_plain;f=wrw%2Fsp%2Fxhtml.py;h=a2c1eb1160ae9daa1ee737b9fe1b22796d24c9d0;hp=48ed41d7723b01a96e19d12add255833a6c22354;hb=7e9080af248b38edec371f117eb4749b09a3caca;hpb=fb5f9f27dcabe7fac75e3a69f820c42779539239 diff --git a/wrw/sp/xhtml.py b/wrw/sp/xhtml.py index 48ed41d..a2c1eb1 100644 --- a/wrw/sp/xhtml.py +++ b/wrw/sp/xhtml.py @@ -43,8 +43,8 @@ class htmlformatter(util.formatter): if el.name in self.allowshort: super(htmlformatter, self).shorttag(el) else: - self.starttag(el) - self.endtag(el) + self.handle(">", el) + self.handle("<", el) class htmlindenter(util.textindenter, htmlformatter): pass