Replace ... on /sign
This commit is contained in:
parent
4d4e6cdae1
commit
cc761c81a5
|
@ -645,6 +645,7 @@ class StatsViewSet(viewsets.ViewSet, List):
|
||||||
|
|
||||||
sign = sign.replace('‘', '\'').replace('’', '\'')
|
sign = sign.replace('‘', '\'').replace('’', '\'')
|
||||||
sign = sign.replace('“', '"').replace('”', '"')
|
sign = sign.replace('“', '"').replace('”', '"')
|
||||||
|
sign = sign.replace('…', '...')
|
||||||
|
|
||||||
if sign.startswith('https://') or sign.startswith('http://'):
|
if sign.startswith('https://') or sign.startswith('http://'):
|
||||||
cache.set('link', sign)
|
cache.set('link', sign)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user