Aevann1 2022-07-13 18:48:53 +02:00
parent 4a3693c1b3
commit e3d2d24d94
2 changed files with 2 additions and 2 deletions

View File

@ -357,7 +357,7 @@ def sanitize(sanitized, edit=False):
sanitized = sanitized.replace('\n','')
if len(sanitized) > 5000:
sanitized = showmore_regex.sub(r'\1<p><button class="btn btn-primary" onclick="showmore()">SHOW MORE</button></p><div class="d-none">\2</div>', sanitized)
sanitized = showmore_regex.sub(r'\1<p><button class="showmore" onclick="showmore()">SHOW MORE</button></p><div class="d-none">\2</div>', sanitized)
return sanitized.strip()

View File

@ -1,6 +1,6 @@
{%-
set CACHE_VER = {
'css/main.css': 392,
'css/main.css': 393,
'css/4chan.css': 61,
'css/classic.css': 61,