Format should not inherit of CleanText

This commit is contained in:
Florent 2014-03-22 20:23:47 +01:00
commit 2f303823c4

View file

@ -325,13 +325,13 @@ class Format(MultiFilter):
return self.fmt % values
class Join(CleanText):
class Join(Filter):
def __init__(self, pattern, selector):
super(Join, self).__init__(selector)
self.pattern = pattern
def filter(self, el):
res = ''
res = u''
for li in el:
res += self.pattern % self.clean(li)