diff options
-rw-r--r-- | apioforum/auth.py | 1 | ||||
-rw-r--r-- | apioforum/db.py | 2 | ||||
-rw-r--r-- | apioforum/mdrender.py | 1 |
3 files changed, 2 insertions, 2 deletions
diff --git a/apioforum/auth.py b/apioforum/auth.py index deacfc8..39cf1f8 100644 --- a/apioforum/auth.py +++ b/apioforum/auth.py @@ -67,7 +67,6 @@ def register(): db.commit() flash("successfully created account") session['user'] = username - flash("registered successfully") return redirect(get_next()) flash(err) diff --git a/apioforum/db.py b/apioforum/db.py index 910118d..e5159db 100644 --- a/apioforum/db.py +++ b/apioforum/db.py @@ -10,7 +10,7 @@ def get_db(): detect_types=sqlite3.PARSE_DECLTYPES ) g.db.row_factory = sqlite3.Row - g.db.execute("PRAGMA foreighn_keys = ON;") + g.db.execute("PRAGMA foreign_keys = ON;") return g.db def close_db(e=None): diff --git a/apioforum/mdrender.py b/apioforum/mdrender.py index 5f5292d..8c59c42 100644 --- a/apioforum/mdrender.py +++ b/apioforum/mdrender.py @@ -12,6 +12,7 @@ allowed_tags = [ 'del', 'mark', 'img', + 'marquee' ] allowed_attributes = bleach.sanitizer.ALLOWED_ATTRIBUTES.copy() |