Dolda2000 GitWeb
/
wrw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7be9e8b
)
Allow shorting of meta and link tags.
author
Fredrik Tolf
<fredrik@dolda2000.com>
Mon, 27 Aug 2012 04:16:50 +0000
(06:16 +0200)
committer
Fredrik Tolf
<fredrik@dolda2000.com>
Mon, 27 Aug 2012 04:16:50 +0000
(06:16 +0200)
wrw/sp/xhtml.py
patch
|
blob
|
blame
|
history
diff --git
a/wrw/sp/xhtml.py
b/wrw/sp/xhtml.py
index
abf4b96
..
928dcd9
100644
(file)
--- 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)