Merge branch 'master' of git.eleves.ens.fr:champeno/experiENS
This commit is contained in:
commit
7f69e44094
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…
Reference in a new issue