fgd
This commit is contained in:
parent
19d1620fd6
commit
579aa7eef3
5 changed files with 13 additions and 12 deletions
|
@ -105,6 +105,7 @@ allowed_styles = ['color', 'background-color', 'font-weight', 'text-align']
|
|||
def sanitize(sanitized, noimages=False, alert=False, comment=False, edit=False):
|
||||
|
||||
if sanitized.count(':') > 100: abort(418)
|
||||
if sanitized.count('@') > 50: abort(418)
|
||||
|
||||
sanitized = markdown(sanitized)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue