Strip comment attributes
This commit is contained in:
parent
1a9e19fa33
commit
7f255eb48a
1 changed files with 3 additions and 3 deletions
|
@ -51,9 +51,9 @@ def new_comment(data):
|
|||
|
||||
token = data.get('token', '')
|
||||
url = data.get('url', '')
|
||||
author_name = data.get('author', '')
|
||||
author_email = data.get('email', '')
|
||||
author_site = data.get('site', '')
|
||||
author_name = data.get('author', '').strip()
|
||||
author_email = data.get('email', '').strip()
|
||||
author_site = data.get('site', '').strip()
|
||||
message = data.get('message', '')
|
||||
subscribe = data.get('subscribe', '')
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue