From: Fredrik Tolf Date: Mon, 27 Aug 2012 04:16:50 +0000 (+0200) Subject: Allow shorting of meta and link tags. X-Git-Url: http://dolda2000.com/gitweb/?p=wrw.git;a=commitdiff_plain;h=d11a27e202a7c7a4698778e5f30bbe2c9f9a56fe Allow shorting of meta and link tags. --- diff --git a/wrw/sp/xhtml.py b/wrw/sp/xhtml.py index abf4b96..928dcd9 100644 --- a/wrw/sp/xhtml.py +++ b/wrw/sp/xhtml.py @@ -30,7 +30,7 @@ def head(title=None, css=None): return head class htmlformatter(util.formatter): - allowshort = set([u"br", u"hr", u"img", u"input"]) + allowshort = set([u"br", u"hr", u"img", u"input", u"meta", u"link"]) def element(self, el, **extra): if el.name in self.allowshort: super(htmlformatter, self).element(el, **extra)