Fix markdown bug

This commit is contained in:
cuom1999 2023-02-12 18:37:34 -06:00
parent 2f7274b3f0
commit 3eda48f3ea

View file

@ -98,7 +98,7 @@ def markdown(value, lazy_load=False):
if not html:
html = escape(value)
if lazy_load or True:
if lazy_load:
soup = BeautifulSoup(html, features="html.parser")
for img in soup.findAll("img"):
if img.get("src"):