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
|
@register.filter
|
||||||
def typonazisme(value):
|
def typonazisme(value):
|
||||||
print value
|
#print value
|
||||||
#return 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)\s*([,.])', u'\\1\\2', value)
|
||||||
value = re.sub(r'([?!:,.])(\w)', u'\\1 \\2', value)
|
value = re.sub(r'([?!:,.])(\w)', u'\\1 \\2', value)
|
||||||
return value
|
return value
|
||||||
|
|
Loading…
Add table
Reference in a new issue