Skip to content

Commit

Permalink
Merge branch 'main' into fix_view_program
Browse files Browse the repository at this point in the history
  • Loading branch information
mergify[bot] authored Oct 30, 2024
2 parents 5e03de4 + cff3b78 commit 39786f3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion website/flask_helpers.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
import dataclasses
import json

from markupsafe import Markup

from . import querylog

import flask
Expand Down Expand Up @@ -41,7 +44,7 @@ def gettext_with_fallback(x):
if locale != 'en' and res == x:
with force_locale('en'):
res = gettext(x)
return res
return Markup(res)


class EnhancedJSONEncoder(json.JSONEncoder):
Expand Down

0 comments on commit 39786f3

Please sign in to comment.