forked from rDrama/rDrama
fix old posts and comments
parent
c7751d1bba
commit
0eae6efc6d
|
@ -434,7 +434,8 @@ class Comment(Base):
|
|||
|
||||
body = normalize_urls_runtime(body, v)
|
||||
|
||||
body = bleach_body_html(body, runtime=True) #to stop slur filters and poll options being used as a vector for html/js injection
|
||||
if self.created_utc > 1706137534:
|
||||
body = bleach_body_html(body, runtime=True) #to stop slur filters and poll options being used as a vector for html/js injection
|
||||
|
||||
return body
|
||||
|
||||
|
|
|
@ -341,7 +341,8 @@ class Post(Base):
|
|||
|
||||
body = normalize_urls_runtime(body, v)
|
||||
|
||||
body = bleach_body_html(body, runtime=True) #to stop slur filters and poll options being used as a vector for html/js injection
|
||||
if self.created_utc > 1706137534:
|
||||
body = bleach_body_html(body, runtime=True) #to stop slur filters and poll options being used as a vector for html/js injection
|
||||
|
||||
return body
|
||||
|
||||
|
|
Loading…
Reference in New Issue