Hotfix mystérieux (print cassé ?)
This commit is contained in:
parent
686999b97d
commit
a47b9c7506
1 changed files with 2 additions and 2 deletions
|
@ -18,9 +18,9 @@ def feedback_widget():
|
|||
|
||||
@register.filter
|
||||
def typonazisme(value):
|
||||
print value
|
||||
#print value
|
||||
#return value
|
||||
value = re.sub(r'(\w)\s*([?!:])', u'\\1 \\2', value)
|
||||
value = re.sub(r'(\w)\s*([,.])', u'\\1\\2 ', value)
|
||||
value = re.sub(r'(\w)\s*([,.])', u'\\1\\2', value)
|
||||
value = re.sub(r'([?!:,.])(\w)', u'\\1 \\2', value)
|
||||
return value
|
||||
|
|
Loading…
Reference in a new issue