fix: tag失效

This commit is contained in:
2021-12-20 11:50:45 +08:00
parent ea3bf7a3b1
commit c6500a9422

View File

@@ -250,6 +250,7 @@ def do_post():
) )
db.session.add(p) db.session.add(p)
db.session.commit()
tags = re.findall('(^|\\s)#([^#\\s]{1,32})', content) tags = re.findall('(^|\\s)#([^#\\s]{1,32})', content)
for t in tags: for t in tags: