From d11a27e202a7c7a4698778e5f30bbe2c9f9a56fe Mon Sep 17 00:00:00 2001 From: Fredrik Tolf Date: Mon, 27 Aug 2012 06:16:50 +0200 Subject: [PATCH] Allow shorting of meta and link tags. --- wrw/sp/xhtml.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.11.0