sneed
This commit is contained in:
parent
210a0a719b
commit
bce20dc242
1 changed files with 1 additions and 1 deletions
|
@ -193,7 +193,7 @@ def edit_post(pid, v):
|
|||
p.body_html = body_html
|
||||
title = request.form.get("title")
|
||||
p.title = title
|
||||
p.title_html = sanitize(title.replace('_','\_'), linkgen=True, flair=True)
|
||||
p.title_html = sanitize(title, linkgen=True, flair=True)
|
||||
|
||||
if int(time.time()) - p.created_utc > 60 * 3: p.edited_utc = int(time.time())
|
||||
g.db.add(p)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue