enable showmore button on snappy comments

pull/157/head
Aevann 2023-06-22 15:52:31 +03:00
parent f7a5caffc2
commit 00a6ae24bd
1 changed files with 1 additions and 1 deletions

View File

@ -196,7 +196,7 @@ def execute_snappy(post:Post, v:User):
archive_url(href)
body = body.strip()[:COMMENT_BODY_LENGTH_LIMIT]
body_html = sanitize(body, snappy=True)
body_html = sanitize(body, snappy=True, showmore=True)
if len(body_html) == 0:
return