Import Markup from markupsafe

This commit is contained in:
cuom1999 2022-09-16 18:02:53 -05:00
parent 9e336a7bc9
commit fa8c683439
2 changed files with 3 additions and 2 deletions

View file

@ -5,7 +5,7 @@ from urllib.parse import urlparse
import mistune
from django.conf import settings
from jinja2 import Markup
from markupsafe import Markup
from lxml import html
from lxml.etree import ParserError, XMLSyntaxError

View file

@ -1,7 +1,8 @@
import re
from jinja2 import Markup, nodes
from jinja2 import nodes
from jinja2.ext import Extension
from markupsafe import Markup
class SpacelessExtension(Extension):