Skip to content

Commit

Permalink
Merge pull request #1321 from UlrichB22/fix_markup
Browse files Browse the repository at this point in the history
Replace Jinja2.Markup with markupsafe.Markup
  • Loading branch information
RogerHaase authored Dec 17, 2022
2 parents 995f3f0 + 1ce380b commit 7870bce
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/moin/apps/feed/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
from flask import g as flaskg

from feedgen.feed import FeedGenerator
from jinja2 import Markup
from markupsafe import Markup

from whoosh.query import Term, And

Expand Down
2 changes: 1 addition & 1 deletion src/moin/apps/frontend/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
from flatland import Form
from flatland.validation import Validator

from jinja2 import Markup
from markupsafe import Markup

import pytz
from babel import Locale
Expand Down
2 changes: 1 addition & 1 deletion src/moin/auth/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@
from flask import url_for, session, request
from flask import g as flaskg
from flask import current_app as app
from jinja2 import Markup
from markupsafe import Markup

from moin import user
from moin.i18n import _
Expand Down
2 changes: 1 addition & 1 deletion src/moin/items/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
from flatland import Form
from flatland.validation import Validator

from jinja2 import Markup
from markupsafe import Markup

from whoosh.query import Term, Prefix, And, Or, Not

Expand Down
2 changes: 1 addition & 1 deletion src/moin/items/ticket.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
from flask import g as flaskg
from flask import current_app as app

from jinja2 import Markup
from markupsafe import Markup

from whoosh.query import Term, And

Expand Down
2 changes: 1 addition & 1 deletion src/moin/utils/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"""


from jinja2 import Markup
from markupsafe import Markup
import werkzeug.datastructures

from flatland import AdaptationError, Scalar
Expand Down

0 comments on commit 7870bce

Please sign in to comment.