diff --git a/files/helpers/sanitize.py b/files/helpers/sanitize.py index 81586b76a..6099ceb39 100644 --- a/files/helpers/sanitize.py +++ b/files/helpers/sanitize.py @@ -410,8 +410,10 @@ def sanitize(sanitized, golden=True, limit_pings=0, showmore=True, count_marseys if '
' not in sanitized and not sidebar: sanitized = sanitized.replace('\n','') - if showmore and len(sanitized) > 3500 or sanitized.count('<') > 15: - sanitized = showmore_regex.sub(r'\1\4 ', sanitized, count=1) + # if showmore and len(sanitized) > 3500 or sanitized.count('<') > 15: + # sanitized = showmore_regex.sub(r'\1\4 ', sanitized, count=1) + if showmore and len(sanitized) > 3500: + sanitized = showmore_regex.sub(r'\1\2 ', sanitized, count=1) return sanitized.strip()