fgd
This commit is contained in:
parent
a6fac49071
commit
0a7d906b56
17 changed files with 27 additions and 16 deletions
|
@ -100,6 +100,8 @@ allowed_styles = ['color', 'background-color', 'font-weight', 'transform', '-web
|
|||
|
||||
def sanitize(sanitized, noimages=False, alert=False, comment=False, edit=False):
|
||||
|
||||
if sanitized.count(':') > 100: abort(418)
|
||||
|
||||
sanitized = markdown(sanitized)
|
||||
|
||||
sanitized = sanitized.replace("\ufeff", "").replace("𒐪","").replace("<script","").replace('','')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue