Introduce Lower Filter
This commit is contained in:
parent
c3b34886db
commit
ba2f66183c
1 changed files with 6 additions and 0 deletions
|
|
@ -196,6 +196,12 @@ class CleanText(Filter):
|
|||
return txt
|
||||
|
||||
|
||||
class Lower(CleanText):
|
||||
def filter(self, txt):
|
||||
txt = super(Lower, self).filter(txt)
|
||||
return txt.lower()
|
||||
|
||||
|
||||
class CleanDecimal(CleanText):
|
||||
"""
|
||||
Get a cleaned Decimal value from an element.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue